[INFO] updating cached repository maxsnew/cargo-dot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/maxsnew/cargo-dot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/maxsnew/cargo-dot" "work/ex/beta-1.38-1/sources/1.37.0/gh/maxsnew/cargo-dot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/maxsnew/cargo-dot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/maxsnew/cargo-dot" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/maxsnew/cargo-dot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/maxsnew/cargo-dot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 66e411929ac7c33817d838b3e651acac2e6b7690 [INFO] sha for GitHub repo maxsnew/cargo-dot: 66e411929ac7c33817d838b3e651acac2e6b7690 [INFO] validating manifest of maxsnew/cargo-dot on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of maxsnew/cargo-dot on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing maxsnew/cargo-dot [INFO] finished frobbing maxsnew/cargo-dot [INFO] frobbed toml for maxsnew/cargo-dot written to work/ex/beta-1.38-1/sources/1.37.0/gh/maxsnew/cargo-dot/Cargo.toml [INFO] started frobbing maxsnew/cargo-dot [INFO] finished frobbing maxsnew/cargo-dot [INFO] frobbed toml for maxsnew/cargo-dot written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/maxsnew/cargo-dot/Cargo.toml [INFO] crate maxsnew/cargo-dot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/maxsnew/cargo-dot/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/cargo` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-lang/cargo` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing maxsnew/cargo-dot against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/maxsnew/cargo-dot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 4049f57b5c116e2fe242aa7889cb39d969c59892697255b90e3b79545ddc158d [INFO] running `"docker" "start" "-a" "4049f57b5c116e2fe242aa7889cb39d969c59892697255b90e3b79545ddc158d"` [INFO] [stderr] Compiling curl v0.4.22 [INFO] [stderr] Compiling bytesize v1.0.0 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling home v0.4.2 [INFO] [stderr] Compiling shell-escape v0.1.4 [INFO] [stderr] Compiling opener v0.4.0 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.20 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling bstr v0.2.7 [INFO] [stderr] Compiling sized-chunks v0.3.1 [INFO] [stderr] Compiling jobserver v0.1.16 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_ignored v0.0.4 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling im-rc v13.0.0 [INFO] [stderr] Compiling git2 v0.9.2 [INFO] [stderr] Compiling rustfix v0.4.6 [INFO] [stderr] Compiling crates-io v0.27.0 (https://github.com/rust-lang/cargo#cfdf00ea) [INFO] [stderr] Compiling git2-curl v0.10.1 [INFO] [stderr] Compiling cargo v0.39.0 (https://github.com/rust-lang/cargo#cfdf00ea) [INFO] [stderr] Compiling cargo-dot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find function `load_lockfile` in module `cargo::ops` [INFO] [stderr] --> src/main.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | let resolved = cargo::ops::load_lockfile(&lock_path, &src_id).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `load_pkg_lockfile` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `decode` found for type `docopt::Docopt` in the current scope [INFO] [stderr] --> src/main.rs:46:46 [INFO] [stderr] | [INFO] [stderr] 46 | .and_then(|d| d.decode()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | Some(crate_deps) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected opaque type, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `impl std::iter::Iterator` [INFO] [stderr] found type `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | None => { } [INFO] [stderr] | ^^^^ expected opaque type, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `impl std::iter::Iterator` [INFO] [stderr] found type `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:104:48 [INFO] [stderr] | [INFO] [stderr] 104 | let idl = self.find_or_add(crat); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `cargo::core::PackageId` [INFO] [stderr] | help: consider borrowing here: `&crat` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&cargo::core::PackageId` [INFO] [stderr] found type `cargo::core::PackageId` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::borrow::Cow<'_, str>: std::convert::From` is not satisfied [INFO] [stderr] --> src/main.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | dot::Id::new(self.nodes[0].name()).unwrap_or(dot::Id::new("dependencies").unwrap()) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `std::borrow::Cow<'_, str>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::convert::From<&'a [T]>> [INFO] [stderr] as std::convert::From<&'a std::vec::Vec>> [INFO] [stderr] as std::convert::From>> [INFO] [stderr] as std::convert::From>> [INFO] [stderr] and 15 others [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into>` for `cargo::core::InternedString` [INFO] [stderr] = note: required by `dot::Id::<'a>::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::borrow::Cow<'_, str>: std::convert::From` is not satisfied [INFO] [stderr] --> src/main.rs:143:60 [INFO] [stderr] | [INFO] [stderr] 143 | dot::LabelText::LabelStr(self.nodes[*i].name().into()) [INFO] [stderr] | ^^^^ the trait `std::convert::From` is not implemented for `std::borrow::Cow<'_, str>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::convert::From<&'a [T]>> [INFO] [stderr] as std::convert::From<&'a std::vec::Vec>> [INFO] [stderr] as std::convert::From>> [INFO] [stderr] as std::convert::From>> [INFO] [stderr] and 15 others [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into>` for `cargo::core::InternedString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `cargo-dot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4049f57b5c116e2fe242aa7889cb39d969c59892697255b90e3b79545ddc158d"` [INFO] running `"docker" "rm" "-f" "4049f57b5c116e2fe242aa7889cb39d969c59892697255b90e3b79545ddc158d"` [INFO] [stdout] 4049f57b5c116e2fe242aa7889cb39d969c59892697255b90e3b79545ddc158d