[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] checking maxsnew/cargo-dot against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxsnew/cargo-dot on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-14/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] edbfba3844ddf87fd6f1cfdf98e95f72c08931ff029f39be0d0e1f9d60493377 [INFO] running `Command { std: "docker" "start" "-a" "edbfba3844ddf87fd6f1cfdf98e95f72c08931ff029f39be0d0e1f9d60493377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edbfba3844ddf87fd6f1cfdf98e95f72c08931ff029f39be0d0e1f9d60493377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbfba3844ddf87fd6f1cfdf98e95f72c08931ff029f39be0d0e1f9d60493377", kill_on_drop: false }` [INFO] [stdout] edbfba3844ddf87fd6f1cfdf98e95f72c08931ff029f39be0d0e1f9d60493377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82b24b28e532820ee43e67f306d2407f0c09939cc523e2271a13415f47e3bd45 [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" "82b24b28e532820ee43e67f306d2407f0c09939cc523e2271a13415f47e3bd45", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking socket2 v0.3.16 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking jobserver v0.1.21 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking serde_ignored v0.1.2 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking cargo-platform v0.1.1 (https://github.com/rust-lang/cargo#2af662e2) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tar v0.4.30 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling libgit2-sys v0.12.14+1.1.0 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling cargo v0.50.0 (https://github.com/rust-lang/cargo#2af662e2) [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Checking crates-io v0.31.1 (https://github.com/rust-lang/cargo#2af662e2) [INFO] [stderr] Checking git2 v0.13.12 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking git2-curl v0.14.1 [INFO] [stderr] Checking 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/2af662e/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[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/2af662e/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` 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` [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 `Option` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/2af662e/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 Iterator` [INFO] [stdout] found enum `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 `Option` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/2af662e/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 Iterator` [INFO] [stdout] found enum `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 `&PackageId`, found struct `PackageId` [INFO] [stdout] | help: consider borrowing here: `&crat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: 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 `From` is not implemented for `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 `Id::<'a>::new` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 15 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `InternedString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: 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 `From` is not implemented for `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 15 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `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] [stdout] error[E0599]: no method named `decode` found for struct `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` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-dot` [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 `Option` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/2af662e/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 Iterator` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `Option` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cargo-e7ff1db891893a9e/2af662e/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 Iterator` [INFO] [stdout] found enum `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 `&PackageId`, found struct `PackageId` [INFO] [stdout] | help: consider borrowing here: `&crat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: 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 `From` is not implemented for `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 `Id::<'a>::new` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 15 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `InternedString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: 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 `From` is not implemented for `Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 15 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `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: build failed [INFO] running `Command { std: "docker" "inspect" "82b24b28e532820ee43e67f306d2407f0c09939cc523e2271a13415f47e3bd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b24b28e532820ee43e67f306d2407f0c09939cc523e2271a13415f47e3bd45", kill_on_drop: false }` [INFO] [stdout] 82b24b28e532820ee43e67f306d2407f0c09939cc523e2271a13415f47e3bd45