[INFO] cloning repository https://github.com/Kingsquee/depot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kingsquee/depot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Fdepot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Fdepot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3d36c00b49eb1eec496c94d5559f4d9532264e [INFO] checking Kingsquee/depot against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Fdepot" "/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/Kingsquee/depot on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kingsquee/depot [INFO] finished tweaking git repo https://github.com/Kingsquee/depot [INFO] tweaked toml for git repo https://github.com/Kingsquee/depot written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Kingsquee/depot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cca5b64d122660a9072e7fa28a0610d1a7accb76ea383672ccc464e161525aa9 [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" "cca5b64d122660a9072e7fa28a0610d1a7accb76ea383672ccc464e161525aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cca5b64d122660a9072e7fa28a0610d1a7accb76ea383672ccc464e161525aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca5b64d122660a9072e7fa28a0610d1a7accb76ea383672ccc464e161525aa9", kill_on_drop: false }` [INFO] [stdout] cca5b64d122660a9072e7fa28a0610d1a7accb76ea383672ccc464e161525aa9 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbb50206792c849d8d1e07ffd13ba2eee9c4a2616e6c262926025e40f4733192 [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" "dbb50206792c849d8d1e07ffd13ba2eee9c4a2616e6c262926025e40f4733192", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking depot v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `toml` [INFO] [stdout] --> src/main.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | let toml_manifest: DependencyManifest = toml::decode(toml::Value::Table(root)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_str` in crate `toml` [INFO] [stdout] --> src/main.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | dependencies = toml::encode_str(&final_manifest), [INFO] [stdout] | ^^^^^^^^^^ not found in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `toml` [INFO] [stdout] --> src/main.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | let toml_manifest: DepotManifest = toml::decode(toml::Value::Table(root)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/main.rs:387:48 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn parse(toml: &str, file: &Path) -> toml::Table { [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stdout] --> src/main.rs:388:26 [INFO] [stdout] | [INFO] [stdout] 388 | let mut parser = toml::Parser::new(&toml); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | 'a_dep: for (dep_name_a, dep_a) in manifest_a.dependencies.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | 'b_manifest: for (manifest_name_b, manifest_b) in toml_manifests.iter() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 'b_dep: for (dep_name_b, dep_b) in manifest_b.dependencies.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `toml` [INFO] [stdout] --> src/main.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | let toml_manifest: DependencyManifest = toml::decode(toml::Value::Table(root)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_str` in crate `toml` [INFO] [stdout] --> src/main.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | dependencies = toml::encode_str(&final_manifest), [INFO] [stdout] | ^^^^^^^^^^ not found in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `toml` [INFO] [stdout] --> src/main.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | let toml_manifest: DepotManifest = toml::decode(toml::Value::Table(root)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/main.rs:387:48 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn parse(toml: &str, file: &Path) -> toml::Table { [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `depot` [INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stdout] --> src/main.rs:388:26 [INFO] [stdout] | [INFO] [stdout] 388 | let mut parser = toml::Parser::new(&toml); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | 'a_dep: for (dep_name_a, dep_a) in manifest_a.dependencies.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | 'b_manifest: for (manifest_name_b, manifest_b) in toml_manifests.iter() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 'b_dep: for (dep_name_b, dep_b) in manifest_b.dependencies.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dbb50206792c849d8d1e07ffd13ba2eee9c4a2616e6c262926025e40f4733192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb50206792c849d8d1e07ffd13ba2eee9c4a2616e6c262926025e40f4733192", kill_on_drop: false }` [INFO] [stdout] dbb50206792c849d8d1e07ffd13ba2eee9c4a2616e6c262926025e40f4733192