[INFO] cloning repository https://github.com/x1125/spindown-daemon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/x1125/spindown-daemon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx1125%2Fspindown-daemon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx1125%2Fspindown-daemon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a67a2a2818cb749af7f37602315afa36949f5f7b [INFO] building x1125/spindown-daemon against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx1125%2Fspindown-daemon" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/x1125/spindown-daemon on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/x1125/spindown-daemon [INFO] finished tweaking git repo https://github.com/x1125/spindown-daemon [INFO] tweaked toml for git repo https://github.com/x1125/spindown-daemon written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/x1125/spindown-daemon 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67b5908e3f4f260afe9e077b0638990ecbfdf36d952f13ce54b3bcb769ea4221 [INFO] running `Command { std: "docker" "start" "-a" "67b5908e3f4f260afe9e077b0638990ecbfdf36d952f13ce54b3bcb769ea4221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67b5908e3f4f260afe9e077b0638990ecbfdf36d952f13ce54b3bcb769ea4221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b5908e3f4f260afe9e077b0638990ecbfdf36d952f13ce54b3bcb769ea4221", kill_on_drop: false }` [INFO] [stdout] 67b5908e3f4f260afe9e077b0638990ecbfdf36d952f13ce54b3bcb769ea4221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44bcc6086095657cf43635891188cb9eca145bd835929c2d1c81ecd1a55bb080 [INFO] running `Command { std: "docker" "start" "-a" "44bcc6086095657cf43635891188cb9eca145bd835929c2d1c81ecd1a55bb080", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling rustix v0.37.5 [INFO] [stderr] Compiling linux-raw-sys v0.3.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling concolor-query v0.3.3 [INFO] [stderr] Compiling concolor-override v1.0.0 [INFO] [stderr] Compiling anstyle v0.3.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling anstyle-parse v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling stderrlog v0.5.1 [INFO] [stderr] Compiling is-terminal v0.4.6 [INFO] [stderr] Compiling anstream v0.2.6 [INFO] [stderr] Compiling clap_builder v4.2.1 [INFO] [stderr] Compiling clap v4.2.1 [INFO] [stderr] Compiling spindown-daemon v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/spindown_daemon/mod.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | let device_stats = get_device_stats(dev.borrow())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::string::String` does not implement `Borrow`, so calling `borrow` on `&std::string::String` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 23 - let device_stats = get_device_stats(dev.borrow())?; [INFO] [stdout] 23 + let device_stats = get_device_stats(dev)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/spindown_daemon/mod.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | let power_state = check_power_state(dev.borrow())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::string::String` does not implement `Borrow`, so calling `borrow` on `&std::string::String` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 24 - let power_state = check_power_state(dev.borrow())?; [INFO] [stdout] 24 + let power_state = check_power_state(dev)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.58s [INFO] running `Command { std: "docker" "inspect" "44bcc6086095657cf43635891188cb9eca145bd835929c2d1c81ecd1a55bb080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44bcc6086095657cf43635891188cb9eca145bd835929c2d1c81ecd1a55bb080", kill_on_drop: false }` [INFO] [stdout] 44bcc6086095657cf43635891188cb9eca145bd835929c2d1c81ecd1a55bb080 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cedca362aa2bc8d4e59a520cba38da1df64f6efe64687f5ec67c3fb3abfcceb3 [INFO] running `Command { std: "docker" "start" "-a" "cedca362aa2bc8d4e59a520cba38da1df64f6efe64687f5ec67c3fb3abfcceb3", kill_on_drop: false }` [INFO] [stderr] Compiling spindown-daemon v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/spindown_daemon/mod.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | let device_stats = get_device_stats(dev.borrow())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::string::String` does not implement `Borrow`, so calling `borrow` on `&std::string::String` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 23 - let device_stats = get_device_stats(dev.borrow())?; [INFO] [stdout] 23 + let device_stats = get_device_stats(dev)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/spindown_daemon/mod.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | let power_state = check_power_state(dev.borrow())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::string::String` does not implement `Borrow`, so calling `borrow` on `&std::string::String` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 24 - let power_state = check_power_state(dev.borrow())?; [INFO] [stdout] 24 + let power_state = check_power_state(dev)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "cedca362aa2bc8d4e59a520cba38da1df64f6efe64687f5ec67c3fb3abfcceb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedca362aa2bc8d4e59a520cba38da1df64f6efe64687f5ec67c3fb3abfcceb3", kill_on_drop: false }` [INFO] [stdout] cedca362aa2bc8d4e59a520cba38da1df64f6efe64687f5ec67c3fb3abfcceb3