[INFO] fetching crate gitclass 0.8.0... [INFO] checking gitclass-0.8.0 against beta for pr-78714 [INFO] extracting crate gitclass 0.8.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate gitclass 0.8.0 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 crates.io crate gitclass 0.8.0 [INFO] finished tweaking crates.io crate gitclass 0.8.0 [INFO] tweaked toml for crates.io crate gitclass 0.8.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stdout] fa7307f9e2cf49d64f4799638bc4afafdf950fd87795b8aab830f1face9eb9a1 [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" "fa7307f9e2cf49d64f4799638bc4afafdf950fd87795b8aab830f1face9eb9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa7307f9e2cf49d64f4799638bc4afafdf950fd87795b8aab830f1face9eb9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa7307f9e2cf49d64f4799638bc4afafdf950fd87795b8aab830f1face9eb9a1", kill_on_drop: false }` [INFO] [stdout] fa7307f9e2cf49d64f4799638bc4afafdf950fd87795b8aab830f1face9eb9a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9a19e36d388135023bd6ce406c1bd472f03aeb441dbfc37a9424dc23f6f30f88 [INFO] running `Command { std: "docker" "start" "-a" "9a19e36d388135023bd6ce406c1bd472f03aeb441dbfc37a9424dc23f6f30f88", kill_on_drop: false }` [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking git2 v0.7.5 [INFO] [stderr] Checking gitclass v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Err(e) => panic!("Couldn't open 'master' branch") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latest_obj` [INFO] [stdout] --> src/lib.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let latest_obj = repo.revparse_single("HEAD").ok(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latest_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Err(e) => panic!("Couldn't find the remote ref") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Err(e) => panic!("Couldn't open 'master' branch") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latest_obj` [INFO] [stdout] --> src/lib.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let latest_obj = repo.revparse_single("HEAD").ok(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latest_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Err(e) => panic!("Couldn't find the remote ref") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | set_current_dir(name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / repo.reset(&remote_obj, [INFO] [stdout] 202 | | git2::ResetType::Hard, [INFO] [stdout] 203 | | Some(git2::build::CheckoutBuilder::new() [INFO] [stdout] 204 | | .force() [INFO] [stdout] 205 | | .remove_untracked(true) [INFO] [stdout] 206 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | set_current_dir(name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / repo.reset(&remote_obj, [INFO] [stdout] 202 | | git2::ResetType::Hard, [INFO] [stdout] 203 | | Some(git2::build::CheckoutBuilder::new() [INFO] [stdout] 204 | | .force() [INFO] [stdout] 205 | | .remove_untracked(true) [INFO] [stdout] 206 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_m` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | if let Some(init_m) = matches.subcommand_matches("init") { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_m` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(add_m) = matches.subcommand_matches("add") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_add_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up_m` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(up_m) = matches.subcommand_matches("update") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_up_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_m` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | if let Some(init_m) = matches.subcommand_matches("init") { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_m` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(add_m) = matches.subcommand_matches("add") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_add_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up_m` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(up_m) = matches.subcommand_matches("update") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_up_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "9a19e36d388135023bd6ce406c1bd472f03aeb441dbfc37a9424dc23f6f30f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a19e36d388135023bd6ce406c1bd472f03aeb441dbfc37a9424dc23f6f30f88", kill_on_drop: false }` [INFO] [stdout] 9a19e36d388135023bd6ce406c1bd472f03aeb441dbfc37a9424dc23f6f30f88