Go version
go version go1.8.2 windows/amd64
go dep version:
commit e93d78b53024b30db35e4adeaa6101d6adb5fd7a
Merge: fe4b78c 07f165c
Author: Carolyn Van Slyck me@carolynvanslyck.com
Date: Wed May 24 09:27:28 2017 -0500Merge pull request #637 from gregory-m/remove-dead-code Removed dead code
Searching GOPATH for projects...
Using master as constraint for direct dep github.com/sirupsen/logrus
Locking in master (5e5dc89) for direct dep github.com/sirupsen/logrus
Using master as constraint for direct dep github.com/spf13/pflag
Locking in master (c990990) for direct dep github.com/spf13/pflag
Using master as constraint for direct dep github.com/spf13/viper
Locking in master (0967fc9) for direct dep github.com/spf13/viper
Locking in master (4da3e2c) for transitive dep github.com/fsnotify/fsnotify
Locking in master (7fa7fff) for transitive dep github.com/hashicorp/hcl
Locking in master (51463bf) for transitive dep github.com/magiconair/properties
Locking in master (cc8532a) for transitive dep github.com/mitchellh/mapstructure
Locking in master (fe206ef) for transitive dep github.com/pelletier/go-toml
Locking in master (c37440a) for transitive dep github.com/pelletier/go-buffruneio
Locking in master (9be6508) for transitive dep github.com/spf13/afero
Locking in master (470f45b) for transitive dep golang.org/x/text
Locking in master (acbeb36) for transitive dep github.com/spf13/cast
Locking in master (fa7ca7e) for transitive dep github.com/spf13/jwalterweatherman
Locking in master (cd8b52f) for transitive dep gopkg.in/yaml.v2
Following dependencies were not found in GOPATH. Dep will use the most recent versions of these projects.
golang.org/x/sys
github.com/PuerkitoBio/purell
gopkg.in/jose.v1
Root project is "gaijin"
7 transitively valid internal packages
5 external packages imported from 5 projects
(0) โ select (root)
(1) ? attempt github.com/sirupsen/logrus with 1 pkgs; at least 1 versions to try
(1) try github.com/sirupsen/logrus@master
(1) โ select github.com/sirupsen/logrus@master w/1 pkgs
(2) ? attempt github.com/spf13/viper with 1 pkgs; at least 1 versions to try
(2) try github.com/spf13/viper@master
(2) โ select github.com/spf13/viper@master w/1 pkgs
(3) ? attempt github.com/fsnotify/fsnotify with 1 pkgs; at least 1 versions to try
(3) try github.com/fsnotify/fsnotify@master
(3) โ select github.com/fsnotify/fsnotify@master w/1 pkgs
(4) ? attempt github.com/hashicorp/hcl with 1 pkgs; at least 1 versions to try
(4) try github.com/hashicorp/hcl@master
(4) โ select github.com/hashicorp/hcl@master w/9 pkgs
(5) ? attempt github.com/mitchellh/mapstructure with 1 pkgs; at least 1 versions to try
(5) try github.com/mitchellh/mapstructure@master
(5) โ select github.com/mitchellh/mapstructure@master w/1 pkgs
(6) ? attempt github.com/spf13/pflag with 1 pkgs; at least 1 versions to try
(6) try github.com/spf13/pflag@master
(6) โ select github.com/spf13/pflag@master w/1 pkgs
(7) ? attempt github.com/magiconair/properties with 1 pkgs; at least 1 versions to try
(7) try github.com/magiconair/properties@master
(7) โ select github.com/magiconair/properties@master w/1 pkgs
(8) ? attempt github.com/pelletier/go-toml with 1 pkgs; at least 1 versions to try
(8) try github.com/pelletier/go-toml@master
(8) โ select github.com/pelletier/go-toml@master w/1 pkgs
(9) ? attempt github.com/pelletier/go-buffruneio with 1 pkgs; at least 1 versions to try
(9) try github.com/pelletier/go-buffruneio@master
(9) โ select github.com/pelletier/go-buffruneio@master w/1 pkgs
(10) ? attempt github.com/spf13/cast with 1 pkgs; at least 1 versions to try
(10) try github.com/spf13/cast@master
(10) โ select github.com/spf13/cast@master w/1 pkgs
(11) ? attempt gopkg.in/yaml.v2 with 1 pkgs; at least 1 versions to try
(11) try gopkg.in/yaml.v2@master
(11) โ select gopkg.in/yaml.v2@master w/1 pkgs
(12) ? attempt golang.org/x/sys with 1 pkgs; 1 versions to try
(12) try golang.org/x/sys@master
(12) โ Unable to update checked out version: fatal: reference is not a tree: dbc2be9168a660ef302e04b6ff6406de6f967473
(12) โ no more versions of golang.org/x/sys to try; begin backtrack
(11) โ backtrack: no more versions of gopkg.in/yaml.v2 to try
(10) โ backtrack: no more versions of github.com/spf13/cast to try
(9) โ backtrack: no more versions of github.com/pelletier/go-buffruneio to try
(8) โ backtrack: no more versions of github.com/pelletier/go-toml to try
(7) โ backtrack: no more versions of github.com/magiconair/properties to try
(6) โ backtrack: no more versions of github.com/spf13/pflag to try
(5) โ backtrack: no more versions of github.com/mitchellh/mapstructure to try
(4) โ backtrack: no more versions of github.com/hashicorp/hcl to try
(3) โ backtrack: no more versions of github.com/fsnotify/fsnotify to try
(2) โ backtrack: no more versions of github.com/spf13/viper to try
(1) โ backtrack: no more versions of github.com/sirupsen/logrus to try
(1) ? continue github.com/sirupsen/logrus with 1 pkgs; 41 more versions to try
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/[email protected]
(2) โ github.com/sirupsen/[email protected] not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/logrus@master
(1) โ select github.com/sirupsen/logrus@master w/1 pkgs
(2) ? attempt github.com/hashicorp/hcl with 9 pkgs; at least 1 versions to try
(2) try github.com/hashicorp/hcl@master
(2) โ select github.com/hashicorp/hcl@master w/9 pkgs
(3) ? attempt github.com/PuerkitoBio/purell with 1 pkgs; 8 versions to try
(3) try github.com/PuerkitoBio/[email protected]
(3) โ select github.com/PuerkitoBio/[email protected] w/1 pkgs
(4) ? attempt github.com/spf13/pflag with 1 pkgs; at least 1 versions to try
(4) try github.com/spf13/pflag@master
(4) โ select github.com/spf13/pflag@master w/1 pkgs
(5) ? attempt github.com/spf13/viper with 1 pkgs; at least 1 versions to try
(5) try github.com/spf13/viper@master
(5) โ select github.com/spf13/viper@master w/1 pkgs
(6) ? revisit github.com/hashicorp/hcl to add 1 pkgs
(6) โ include 9 more pkgs from github.com/hashicorp/hcl@master
(6) ? attempt github.com/fsnotify/fsnotify with 1 pkgs; at least 1 versions to try
(7) try github.com/fsnotify/fsnotify@master
(7) โ select github.com/fsnotify/fsnotify@master w/1 pkgs
(7) ? attempt github.com/pelletier/go-toml with 1 pkgs; at least 1 versions to try
(8) try github.com/pelletier/go-toml@master
(8) โ select github.com/pelletier/go-toml@master w/1 pkgs
(8) ? attempt github.com/pelletier/go-buffruneio with 1 pkgs; at least 1 versions to try
(9) try github.com/pelletier/go-buffruneio@master
(9) โ select github.com/pelletier/go-buffruneio@master w/1 pkgs
(9) ? attempt github.com/magiconair/properties with 1 pkgs; at least 1 versions to try
(10) try github.com/magiconair/properties@master
(10) โ select github.com/magiconair/properties@master w/1 pkgs
(10) ? attempt gopkg.in/yaml.v2 with 1 pkgs; at least 1 versions to try
(11) try gopkg.in/yaml.v2@master
(11) โ select gopkg.in/yaml.v2@master w/1 pkgs
(11) ? attempt github.com/spf13/jwalterweatherman with 1 pkgs; at least 1 versions to try
(12) try github.com/spf13/jwalterweatherman@master
(12) โ select github.com/spf13/jwalterweatherman@master w/1 pkgs
(12) ? attempt golang.org/x/net with 1 pkgs; 4 versions to try
(13) try golang.org/x/net@master
(13) โ Unable to update checked out version: fatal: reference is not a tree: 5b58a9c3e1690d33a592e5b791638e25eb9b3f70
(13) try golang.org/x/[email protected]
(13) โ select golang.org/x/[email protected] w/1 pkgs
(13) ? attempt github.com/spf13/afero with 1 pkgs; at least 1 versions to try
(14) try github.com/spf13/afero@master
(14) โ select github.com/spf13/afero@master w/2 pkgs
(14) ? attempt golang.org/x/text with 1 pkgs; at least 1 versions to try
(15) try golang.org/x/text@master
(15) โ select golang.org/x/text@master w/1 pkgs
(15) ? attempt github.com/mitchellh/mapstructure with 1 pkgs; at least 1 versions to try
(16) try github.com/mitchellh/mapstructure@master
(16) โ select github.com/mitchellh/mapstructure@master w/1 pkgs
(16) ? attempt gopkg.in/jose.v1 with 1 pkgs; 1 versions to try
(17) try gopkg.in/[email protected]
(17) โ select gopkg.in/[email protected] w/4 pkgs
(17) ? attempt github.com/spf13/cast with 1 pkgs; at least 1 versions to try
(18) try github.com/spf13/cast@master
(18) โ select github.com/spf13/cast@master w/1 pkgs
(18) ? revisit golang.org/x/text to add 2 pkgs
(19) โ include 7 more pkgs from golang.org/x/text@master
(18) ? attempt golang.org/x/sys with 1 pkgs; 1 versions to try
(20) try golang.org/x/sys@master
(20) โ Unable to update checked out version: fatal: reference is not a tree: dbc2be9168a660ef302e04b6ff6406de6f967473
(20) โ no more versions of golang.org/x/sys to try; begin backtrack
(19) โ backtrack: popped 7 pkgs from golang.org/x/text
(18) โ backtrack: no more versions of github.com/spf13/cast to try
(17) โ backtrack: no more versions of gopkg.in/jose.v1 to try
(16) โ backtrack: no more versions of github.com/mitchellh/mapstructure to try
(15) โ backtrack: no more versions of golang.org/x/text to try
(14) โ backtrack: no more versions of github.com/spf13/afero to try
(13) โ backtrack: no more versions of golang.org/x/net to try
(12) โ backtrack: no more versions of github.com/spf13/jwalterweatherman to try
(11) โ backtrack: no more versions of gopkg.in/yaml.v2 to try
(10) โ backtrack: no more versions of github.com/magiconair/properties to try
(9) โ backtrack: no more versions of github.com/pelletier/go-buffruneio to try
(8) โ backtrack: no more versions of github.com/pelletier/go-toml to try
(7) โ backtrack: no more versions of github.com/fsnotify/fsnotify to try
(6) โ backtrack: popped 9 pkgs from github.com/hashicorp/hcl
(5) โ backtrack: no more versions of github.com/spf13/viper to try
(4) โ backtrack: no more versions of github.com/spf13/pflag to try
(3) โ backtrack: no more versions of github.com/PuerkitoBio/purell to try
(2) โ backtrack: no more versions of github.com/hashicorp/hcl to try
(1) โ backtrack: no more versions of github.com/sirupsen/logrus to try
(1) ? continue github.com/sirupsen/logrus with 1 pkgs; 5 more versions to try
(1) try github.com/sirupsen/logrus@break-out-specials
(2) โ github.com/sirupsen/logrus@break-out-specials not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/logrus@caller-hook
(2) โ github.com/sirupsen/logrus@caller-hook not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/logrus@hook-fire-fail
(2) โ github.com/sirupsen/logrus@hook-fire-fail not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/logrus@log-to-stderr
(2) โ github.com/sirupsen/logrus@log-to-stderr not allowed by constraint master:
(2) master from (root)
(1) try github.com/sirupsen/logrus@logstash
(2) โ github.com/sirupsen/logrus@logstash not allowed by constraint master:
(2) master from (root)
(1) โ backtrack: no more versions of github.com/sirupsen/logrus to try
โ solving failed
Solver wall times by segment:
b-list-pkgs: 22.0580515s
b-gmal: 20.6319726s
b-list-versions: 3.2991059s
b-source-exists: 776.2742ms
b-deduce-proj-root: 185.8773ms
select-atom: 5.5045ms
unselect: 5.0043ms
satisfy: 4.0049ms
backtrack: 1.0011ms
b-pair-rev: 1.0008ms
select-root: 501.8ยตs
add-atom: 0s
new-atom: 0s
b-pair-version: 0s
other: 0s
b-matches: 0s
TOTAL: 46.9682989s
No versions of golang.org/x/sys met constraints:
master: Unable to update checked out version: fatal: reference is not a tree: dbc2be9168a660ef302e04b6ff6406de6f967473
Thanks for the issue report! It's sad, we weren't seeing these for a while, I wonder if we had a regression recently...
Without running dep again, could you cd $GOPATH/pkg/dep/sources/https---go.googlesource.com-sys, and report the output of git show-ref and cat .git/HEAD?
git show-ref:
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/heads/master
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/remotes/origin/HEAD
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/remotes/origin/master
cat .git/HEAD
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e
yeah ok, that definitely suggests that we've got an issue with cache repos not being updated properly.
If you re-attempt dep init -v, do you get the same error, or does it go away? Afterwards, please report the output of git show-ref and cat .git/HEAD.
Repository state before dep init -v
git show-ref
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/heads/master
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/remotes/origin/HEAD
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/remotes/origin/master
cat .git/HEAD
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e
After dep init -v I have got the same error and the same repository state:
git show-ref
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/heads/master
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/remotes/origin/HEAD
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e refs/remotes/origin/master
cat .git/HEAD
98b5b1e7e80eb60271c8dc4eba6521ec2c3e811e
Hi,
I also have a very similar error message
No versions of golang.org/x/sys met constraints:
master: Unable to update checked out version: fatal: reference is not a tree: b90f89a1e7a9c1f6b918820b3daa7f08488c8594
@GlebYaltchik thanks for extra info - that pretty clearly confirms that we have a stale cache issue.
@sgoodliff yep, you're likely running into the same thing.
we should be able to get this fixed this week.
Hi, @sdboyer, I also got same error message.
ensure Solve(): No versions of golang.org/x/sys met constraints:
master: Unable to update checked out version: fatal: reference is not a tree: b90f89a1e7a9c1f6b918820b3daa7f08488c8594
master: Unable to update checked out version: fatal: reference is not a tree: b90f89a1e7a9c1f6b918820b3daa7f08488c8594
git show-ref
a55a76086885b80f79961eacb876ebd8caf3868d refs/heads/master
a55a76086885b80f79961eacb876ebd8caf3868d refs/remotes/origin/HEAD
a55a76086885b80f79961eacb876ebd8caf3868d refs/remotes/origin/master
cat .git/HEAD
478fcf54317e52ab69f40bb4c7a1520288d7f7ea
Issue was solved after I delete $GOPATH/pkg/dep/sources/https---go.googlesource.com-sys and run dep ensure -v.
@sevenNt yep, that removes the stale cached repository; it's then automatically re-downloaded. It confirms what we know, though I'm glad you found a temporary solution ๐
Experienced the same issue recently. As it was suggested, resolved by running:
rm -rf $GOPATH/pkg/dep/sources/https---go.googlesource.com-sys
I recently encountered the same problem and took the same approach to solve it
emmmm, As it was suggested, resolved by running!!
i ran into the same issue many times. when this issue happened the dep progress stoped and itself cannot automatic recovered. so everytime this issue happened, i have to delete the cached dependencies from my laptop.
hope this issue can be fixed quickly, since this is really a very bad experience.
Most helpful comment
Issue was solved after I delete
$GOPATH/pkg/dep/sources/https---go.googlesource.com-sysand rundep ensure -v.