[INFO] cloning repository https://github.com/maxsnew/cargo-dot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxsnew/cargo-dot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66e411929ac7c33817d838b3e651acac2e6b7690 [INFO] testing maxsnew/cargo-dot against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxsnew/cargo-dot on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxsnew/cargo-dot [INFO] finished tweaking git repo https://github.com/maxsnew/cargo-dot [INFO] tweaked toml for git repo https://github.com/maxsnew/cargo-dot written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/maxsnew/cargo-dot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-lang/cargo` [INFO] [stderr] Updating git submodule `https://github.com/rust-lang/rust-installer.git` [INFO] [stderr] Updating git submodule `https://github.com/rust-lang/rust-installer` [INFO] [stderr] Updating git submodule `https://github.com/rust-lang/rust-installer` [INFO] [stderr] Updating git submodule `https://github.com/rust-lang/rust-installer` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-lang/cargo` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded serde_ignored v0.1.2 [INFO] [stderr] Downloaded humantime v2.0.1 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded bytesize v1.0.1 [INFO] [stderr] Downloaded dot v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b04f7aa56f198d81fa9afc1b94fa6dfb4785cd0a11f63d745dcea57a4ae1ee4d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b04f7aa56f198d81fa9afc1b94fa6dfb4785cd0a11f63d745dcea57a4ae1ee4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b04f7aa56f198d81fa9afc1b94fa6dfb4785cd0a11f63d745dcea57a4ae1ee4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04f7aa56f198d81fa9afc1b94fa6dfb4785cd0a11f63d745dcea57a4ae1ee4d", kill_on_drop: false }` [INFO] [stdout] b04f7aa56f198d81fa9afc1b94fa6dfb4785cd0a11f63d745dcea57a4ae1ee4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a2b8cfdb72b2e381aaf9a0be46590f40ba8e9207fb2924166c9f3c74be1d5b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9a2b8cfdb72b2e381aaf9a0be46590f40ba8e9207fb2924166c9f3c74be1d5b6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling tar v0.4.29 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling curl-sys v0.4.34+curl-7.71.1 [INFO] [stderr] Compiling libssh2-sys v0.2.18 [INFO] [stderr] Compiling libgit2-sys v0.12.9+1.0.1 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cargo v0.48.0 (https://github.com/rust-lang/cargo#20d35ffe) [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling git2 v0.13.8 [INFO] [stderr] Compiling git2-curl v0.14.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_ignored v0.1.2 [INFO] [stderr] Compiling cargo-platform v0.1.1 (https://github.com/rust-lang/cargo#20d35ffe) [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling crates-io v0.31.1 (https://github.com/rust-lang/cargo#20d35ffe) [INFO] [stderr] Compiling rustfix v0.5.1 [INFO] [stderr] Compiling cargo-dot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `load_lockfile` in module `cargo::ops` [INFO] [stdout] --> src/main.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let resolved = cargo::ops::load_lockfile(&lock_path, &src_id).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `load_pkg_lockfile` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/20d35ff/src/cargo/ops/lockfile.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn load_pkg_lockfile(ws: &Workspace<'_>) -> CargoResult> { [INFO] [stdout] | ---------------------------------------------------------------------------- similarly named function `load_pkg_lockfile` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `docopt::Docopt` in the current scope [INFO] [stdout] --> src/main.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | ... .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `docopt::Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | Some(crate_deps) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected opaque type, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/20d35ff/src/cargo/core/resolver/resolve.rs:243:43 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn deps(&self, pkg: PackageId) -> impl Iterator)> { [INFO] [stdout] | ------------------------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl std::iter::Iterator` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | None => { } [INFO] [stdout] | ^^^^ expected opaque type, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/20d35ff/src/cargo/core/resolver/resolve.rs:243:43 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn deps(&self, pkg: PackageId) -> impl Iterator)> { [INFO] [stdout] | ------------------------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl std::iter::Iterator` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | let idl = self.find_or_add(crat); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&cargo::core::PackageId`, found struct `cargo::core::PackageId` [INFO] [stdout] | help: consider borrowing here: `&crat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::borrow::Cow<'_, str>: std::convert::From` is not satisfied [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | dot::Id::new(self.nodes[0].name()).unwrap_or(dot::Id::new("dependencies").unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `std::borrow::Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dot-0.1.4/src/lib.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn new>>(name: Name) -> Result, ()> { [INFO] [stdout] | ------------------ required by this bound in `dot::Id::<'a>::new` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as std::convert::From<&'a [T]>> [INFO] [stdout] as std::convert::From<&'a std::vec::Vec>> [INFO] [stdout] as std::convert::From>> [INFO] [stdout] as std::convert::From>> [INFO] [stdout] and 15 others [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into>` for `cargo::util::interning::InternedString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::borrow::Cow<'_, str>: std::convert::From` is not satisfied [INFO] [stdout] --> src/main.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | dot::LabelText::LabelStr(self.nodes[*i].name().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `std::borrow::Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as std::convert::From<&'a [T]>> [INFO] [stdout] as std::convert::From<&'a std::vec::Vec>> [INFO] [stdout] as std::convert::From>> [INFO] [stdout] as std::convert::From>> [INFO] [stdout] and 15 others [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into>` for `cargo::util::interning::InternedString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-dot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9a2b8cfdb72b2e381aaf9a0be46590f40ba8e9207fb2924166c9f3c74be1d5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2b8cfdb72b2e381aaf9a0be46590f40ba8e9207fb2924166c9f3c74be1d5b6", kill_on_drop: false }` [INFO] [stdout] 9a2b8cfdb72b2e381aaf9a0be46590f40ba8e9207fb2924166c9f3c74be1d5b6