[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-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxsnew%2Fcargo-dot" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxsnew/cargo-dot on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-13/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-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-13/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-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/cargo` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v0.10.0 [INFO] [stderr] Downloaded git2-curl v0.14.1 [INFO] [stderr] Downloaded serde_ignored v0.1.2 [INFO] [stderr] Downloaded dot v0.1.4 [INFO] [stderr] Downloaded im-rc v15.0.0 [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c51ebf2950cecd8797c6f088aca5d8cd2e7b10042c1736c1d1efa7a012ec4d9 [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" "6c51ebf2950cecd8797c6f088aca5d8cd2e7b10042c1736c1d1efa7a012ec4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c51ebf2950cecd8797c6f088aca5d8cd2e7b10042c1736c1d1efa7a012ec4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c51ebf2950cecd8797c6f088aca5d8cd2e7b10042c1736c1d1efa7a012ec4d9", kill_on_drop: false }` [INFO] [stdout] 6c51ebf2950cecd8797c6f088aca5d8cd2e7b10042c1736c1d1efa7a012ec4d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b137ed5acc70541d8bfc44bf0dcca4dbaaaa7252b402d0d8d0b93df1b72e7628 [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" "b137ed5acc70541d8bfc44bf0dcca4dbaaaa7252b402d0d8d0b93df1b72e7628", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libnghttp2-sys v0.1.5+1.42.0 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Compiling libgit2-sys v0.12.17+1.1.0 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling cargo v0.52.0 (https://github.com/rust-lang/cargo#94e21ada) [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling git2 v0.13.15 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling git2-curl v0.14.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_ignored v0.1.2 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 (https://github.com/rust-lang/cargo#94e21ada) [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling crates-io v0.31.1 (https://github.com/rust-lang/cargo#94e21ada) [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/94e21ad/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/94e21ad/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/94e21ad/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: could not compile `cargo-dot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b137ed5acc70541d8bfc44bf0dcca4dbaaaa7252b402d0d8d0b93df1b72e7628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b137ed5acc70541d8bfc44bf0dcca4dbaaaa7252b402d0d8d0b93df1b72e7628", kill_on_drop: false }` [INFO] [stdout] b137ed5acc70541d8bfc44bf0dcca4dbaaaa7252b402d0d8d0b93df1b72e7628