[INFO] cloning repository https://github.com/TorMFinn/rphone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TorMFinn/rphone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorMFinn%2Frphone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorMFinn%2Frphone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b355025c9bac738aabaf43351770e60a97163b18 [INFO] checking TorMFinn/rphone/b355025c9bac738aabaf43351770e60a97163b18 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorMFinn%2Frphone" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TorMFinn/rphone on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TorMFinn/rphone [INFO] finished tweaking git repo https://github.com/TorMFinn/rphone [INFO] tweaked toml for git repo https://github.com/TorMFinn/rphone written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TorMFinn/rphone 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gpio-cdev v0.5.1 [INFO] [stderr] Downloaded libpulse-simple-sys v1.19.2 [INFO] [stderr] Downloaded libpulse-sys v1.19.3 [INFO] [stderr] Downloaded libpulse-simple-binding v2.25.0 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded libpulse-binding v2.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1b169b063ec4ac6da15054f7360379339be49bd87f8f909a1a6e94541791dd5 [INFO] running `Command { std: "docker" "start" "-a" "b1b169b063ec4ac6da15054f7360379339be49bd87f8f909a1a6e94541791dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1b169b063ec4ac6da15054f7360379339be49bd87f8f909a1a6e94541791dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b169b063ec4ac6da15054f7360379339be49bd87f8f909a1a6e94541791dd5", kill_on_drop: false }` [INFO] [stdout] b1b169b063ec4ac6da15054f7360379339be49bd87f8f909a1a6e94541791dd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2e62d766b5af6d2cd5b1f3c7979374777c79de29fe1c3fd60895703b0fd90f7 [INFO] running `Command { std: "docker" "start" "-a" "e2e62d766b5af6d2cd5b1f3c7979374777c79de29fe1c3fd60895703b0fd90f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libpulse-sys v1.19.3 [INFO] [stderr] Compiling libpulse-simple-sys v1.19.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking gpio-cdev v0.5.1 [INFO] [stderr] Checking libpulse-binding v2.26.0 [INFO] [stderr] Checking libpulse-simple-binding v2.25.0 [INFO] [stderr] Checking rphone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Format` and `Spec` [INFO] [stdout] --> src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use libpulse_binding::sample::{Format, Spec}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_binding::stream::Direction` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libpulse_binding::stream::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_simple_binding::Simple` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libpulse_simple_binding::Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Format` and `Spec` [INFO] [stdout] --> src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use libpulse_binding::sample::{Format, Spec}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_binding::stream::Direction` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libpulse_binding::stream::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_simple_binding::Simple` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libpulse_simple_binding::Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandsetState` is never used [INFO] [stdout] --> src/hw/handset.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum HandsetState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandsetState` 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: struct `Config` is never constructed [INFO] [stdout] --> src/hw/handset.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HandsetInternal` is never constructed [INFO] [stdout] --> src/hw/handset.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct HandsetInternal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handset` is never constructed [INFO] [stdout] --> src/hw/handset.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Handset { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `init_default`, and `get_state` are never used [INFO] [stdout] --> src/hw/handset.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Handset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn init(cfg: &Config) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn init_default() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_state(&self) -> HandsetState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandsetState` is never used [INFO] [stdout] --> src/hw/handset.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum HandsetState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandsetState` 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: struct `Config` is never constructed [INFO] [stdout] --> src/hw/handset.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HandsetInternal` is never constructed [INFO] [stdout] --> src/hw/handset.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct HandsetInternal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handset` is never constructed [INFO] [stdout] --> src/hw/handset.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Handset { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `init_default`, and `get_state` are never used [INFO] [stdout] --> src/hw/handset.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Handset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn init(cfg: &Config) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn init_default() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_state(&self) -> HandsetState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.37s [INFO] running `Command { std: "docker" "inspect" "e2e62d766b5af6d2cd5b1f3c7979374777c79de29fe1c3fd60895703b0fd90f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e62d766b5af6d2cd5b1f3c7979374777c79de29fe1c3fd60895703b0fd90f7", kill_on_drop: false }` [INFO] [stdout] e2e62d766b5af6d2cd5b1f3c7979374777c79de29fe1c3fd60895703b0fd90f7