[INFO] cloning repository https://github.com/LMFuture-Me/pupit-asi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LMFuture-Me/pupit-asi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMFuture-Me%2Fpupit-asi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMFuture-Me%2Fpupit-asi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31faf9ced7053824faffcabfc409e8edcadc7b58 [INFO] checking LMFuture-Me/pupit-asi against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMFuture-Me%2Fpupit-asi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LMFuture-Me/pupit-asi on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LMFuture-Me/pupit-asi [INFO] finished tweaking git repo https://github.com/LMFuture-Me/pupit-asi [INFO] tweaked toml for git repo https://github.com/LMFuture-Me/pupit-asi written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LMFuture-Me/pupit-asi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 138a055f44ac4d57f1b6107e7b16933e70c6ac96d32205d990ea811adc5fee6b [INFO] running `Command { std: "docker" "start" "-a" "138a055f44ac4d57f1b6107e7b16933e70c6ac96d32205d990ea811adc5fee6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138a055f44ac4d57f1b6107e7b16933e70c6ac96d32205d990ea811adc5fee6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138a055f44ac4d57f1b6107e7b16933e70c6ac96d32205d990ea811adc5fee6b", kill_on_drop: false }` [INFO] [stdout] 138a055f44ac4d57f1b6107e7b16933e70c6ac96d32205d990ea811adc5fee6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c299bea541bc41d907ee7023a84de96d20b18e1724b565caadfcc8f25fe95bae [INFO] running `Command { std: "docker" "start" "-a" "c299bea541bc41d907ee7023a84de96d20b18e1724b565caadfcc8f25fe95bae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Checking adb-script-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/command_processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::adb` [INFO] [stdout] --> src/command_processor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::adb; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/command_processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::adb` [INFO] [stdout] --> src/command_processor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::adb; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/adb.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut path_buf = env::current_exe().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/command_processor.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut readbuf = BufReader::new(process.stdout.unwrap()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut line = line.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_env` is never read [INFO] [stdout] --> src/adb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Exist { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub exist: bool, [INFO] [stdout] 7 | system_env: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exist` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_path_with_executable` is never used [INFO] [stdout] --> src/adb.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Exist { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_path_with_executable() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/command_processor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CommandLine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | language: language::Language, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `authorized` are never read [INFO] [stdout] --> src/command_processor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | authorized: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/adb.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut path_buf = env::current_exe().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/command_processor.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_handler`, `adb_flash_image`, and `install_adb` are never used [INFO] [stdout] --> src/command_processor.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandLine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn err_handler(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn install_adb(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut readbuf = BufReader::new(process.stdout.unwrap()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut line = line.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_env` is never read [INFO] [stdout] --> src/adb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Exist { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub exist: bool, [INFO] [stdout] 7 | system_env: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exist` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_path_with_executable` is never used [INFO] [stdout] --> src/adb.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Exist { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_path_with_executable() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/command_processor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CommandLine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | language: language::Language, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `authorized` are never read [INFO] [stdout] --> src/command_processor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | authorized: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_handler`, `adb_flash_image`, and `install_adb` are never used [INFO] [stdout] --> src/command_processor.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandLine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn err_handler(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn install_adb(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.73s [INFO] running `Command { std: "docker" "inspect" "c299bea541bc41d907ee7023a84de96d20b18e1724b565caadfcc8f25fe95bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c299bea541bc41d907ee7023a84de96d20b18e1724b565caadfcc8f25fe95bae", kill_on_drop: false }` [INFO] [stdout] c299bea541bc41d907ee7023a84de96d20b18e1724b565caadfcc8f25fe95bae [INFO] checking LMFuture-Me/pupit-asi against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMFuture-Me%2Fpupit-asi" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LMFuture-Me/pupit-asi on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LMFuture-Me/pupit-asi [INFO] finished tweaking git repo https://github.com/LMFuture-Me/pupit-asi [INFO] tweaked toml for git repo https://github.com/LMFuture-Me/pupit-asi written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LMFuture-Me/pupit-asi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0188e831b64553efb139ebc411f71578168d37429d0064fa48265854aec517f [INFO] running `Command { std: "docker" "start" "-a" "b0188e831b64553efb139ebc411f71578168d37429d0064fa48265854aec517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0188e831b64553efb139ebc411f71578168d37429d0064fa48265854aec517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0188e831b64553efb139ebc411f71578168d37429d0064fa48265854aec517f", kill_on_drop: false }` [INFO] [stdout] b0188e831b64553efb139ebc411f71578168d37429d0064fa48265854aec517f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731e237fe3743c92b2362d5a1d1bdae6dd9a3676ad296c6843e9d78aa8eb3cac [INFO] running `Command { std: "docker" "start" "-a" "731e237fe3743c92b2362d5a1d1bdae6dd9a3676ad296c6843e9d78aa8eb3cac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Checking adb-script-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/command_processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::adb` [INFO] [stdout] --> src/command_processor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::adb; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/command_processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::adb` [INFO] [stdout] --> src/command_processor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::adb; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/adb.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut path_buf = env::current_exe().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/command_processor.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/adb.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut path = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/adb.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut path_buf = env::current_exe().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/command_processor.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut readbuf = BufReader::new(process.stdout.unwrap()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut line = line.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut readbuf = BufReader::new(process.stdout.unwrap()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut line = line.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command_processor.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut line = line.trim(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_env` is never read [INFO] [stdout] --> src/adb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Exist { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub exist: bool, [INFO] [stdout] 7 | system_env: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exist` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_path_with_executable` is never used [INFO] [stdout] --> src/adb.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Exist { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_path_with_executable() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/command_processor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CommandLine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | language: language::Language, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `authorized` are never read [INFO] [stdout] --> src/command_processor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | authorized: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_handler`, `adb_flash_image`, and `install_adb` are never used [INFO] [stdout] --> src/command_processor.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandLine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn err_handler(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn install_adb(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `system_env` is never read [INFO] [stdout] --> src/adb.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Exist { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub exist: bool, [INFO] [stdout] 7 | system_env: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exist` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_path_with_executable` is never used [INFO] [stdout] --> src/adb.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Exist { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_path_with_executable() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/command_processor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CommandLine { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | language: language::Language, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `authorized` are never read [INFO] [stdout] --> src/command_processor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | authorized: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `err_handler`, `adb_flash_image`, and `install_adb` are never used [INFO] [stdout] --> src/command_processor.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandLine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn err_handler(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn adb_flash_image(args: Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn install_adb(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.15s [INFO] running `Command { std: "docker" "inspect" "731e237fe3743c92b2362d5a1d1bdae6dd9a3676ad296c6843e9d78aa8eb3cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731e237fe3743c92b2362d5a1d1bdae6dd9a3676ad296c6843e9d78aa8eb3cac", kill_on_drop: false }` [INFO] [stdout] 731e237fe3743c92b2362d5a1d1bdae6dd9a3676ad296c6843e9d78aa8eb3cac