[INFO] cloning repository https://github.com/nicholasbishop/autoshutdown [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicholasbishop/autoshutdown" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasbishop%2Fautoshutdown", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasbishop%2Fautoshutdown'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7fcedfbb78f33f107d73fd7ce14f4ad21ba5920 [INFO] testing nicholasbishop/autoshutdown against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasbishop%2Fautoshutdown" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicholasbishop/autoshutdown on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nicholasbishop/autoshutdown [INFO] finished tweaking git repo https://github.com/nicholasbishop/autoshutdown [INFO] tweaked toml for git repo https://github.com/nicholasbishop/autoshutdown written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/nicholasbishop/autoshutdown already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac76f989fe951345afa763928dfd684736ce6e0934629b6288521b29d2d4e758 [INFO] running `Command { std: "docker" "start" "-a" "ac76f989fe951345afa763928dfd684736ce6e0934629b6288521b29d2d4e758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac76f989fe951345afa763928dfd684736ce6e0934629b6288521b29d2d4e758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac76f989fe951345afa763928dfd684736ce6e0934629b6288521b29d2d4e758", kill_on_drop: false }` [INFO] [stdout] ac76f989fe951345afa763928dfd684736ce6e0934629b6288521b29d2d4e758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83d56763dc3ccc1faaf59598ae7f9160e82fc26103a5361aa68161f2e6b52579 [INFO] running `Command { std: "docker" "start" "-a" "83d56763dc3ccc1faaf59598ae7f9160e82fc26103a5361aa68161f2e6b52579", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling simple-error v0.1.11 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling structopt-derive v0.2.7 [INFO] [stderr] Compiling structopt v0.2.7 [INFO] [stderr] Compiling autoshutdown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_duration(input: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:67 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.09s [INFO] running `Command { std: "docker" "inspect" "83d56763dc3ccc1faaf59598ae7f9160e82fc26103a5361aa68161f2e6b52579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d56763dc3ccc1faaf59598ae7f9160e82fc26103a5361aa68161f2e6b52579", kill_on_drop: false }` [INFO] [stdout] 83d56763dc3ccc1faaf59598ae7f9160e82fc26103a5361aa68161f2e6b52579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d31cf1affe966bcefb3a68bb42075d301326942b9594e5cbacb910529042ec [INFO] running `Command { std: "docker" "start" "-a" "39d31cf1affe966bcefb3a68bb42075d301326942b9594e5cbacb910529042ec", kill_on_drop: false }` [INFO] [stderr] Compiling autoshutdown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_duration(input: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:67 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "39d31cf1affe966bcefb3a68bb42075d301326942b9594e5cbacb910529042ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d31cf1affe966bcefb3a68bb42075d301326942b9594e5cbacb910529042ec", kill_on_drop: false }` [INFO] [stdout] 39d31cf1affe966bcefb3a68bb42075d301326942b9594e5cbacb910529042ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7182bc050568cdf3614f523d49ce738e64f73eb612f855f7d6376e0be0c8a1a0 [INFO] running `Command { std: "docker" "start" "-a" "7182bc050568cdf3614f523d49ce738e64f73eb612f855f7d6376e0be0c8a1a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 3 | #[macro_use] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:17:56 [INFO] [stderr] | [INFO] [stderr] 17 | fn parse_duration(input: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:51:67 [INFO] [stderr] | [INFO] [stderr] 51 | fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:56:60 [INFO] [stderr] | [INFO] [stderr] 56 | fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `autoshutdown` (bin "autoshutdown" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.93s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/autoshutdown-17772033b20be08a) [INFO] running `Command { std: "docker" "inspect" "7182bc050568cdf3614f523d49ce738e64f73eb612f855f7d6376e0be0c8a1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7182bc050568cdf3614f523d49ce738e64f73eb612f855f7d6376e0be0c8a1a0", kill_on_drop: false }` [INFO] [stdout] 7182bc050568cdf3614f523d49ce738e64f73eb612f855f7d6376e0be0c8a1a0