[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicholasbishop%2Fautoshutdown" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicholasbishop/autoshutdown on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-58/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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.5.5 [INFO] [stderr] Downloaded structopt-derive v0.2.7 [INFO] [stderr] Downloaded simple-error v0.1.11 [INFO] [stderr] Downloaded structopt v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48118bef347604d7a531e85c7ed576b85d69296027d8c9cec1b024bccaf2afe3 [INFO] running `Command { std: "docker" "start" "-a" "48118bef347604d7a531e85c7ed576b85d69296027d8c9cec1b024bccaf2afe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48118bef347604d7a531e85c7ed576b85d69296027d8c9cec1b024bccaf2afe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48118bef347604d7a531e85c7ed576b85d69296027d8c9cec1b024bccaf2afe3", kill_on_drop: false }` [INFO] [stdout] 48118bef347604d7a531e85c7ed576b85d69296027d8c9cec1b024bccaf2afe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cab80f74198916b91f0380496b1b6570ce281a1fe6a167ea1ab996bfd5cf79d [INFO] running `Command { std: "docker" "start" "-a" "9cab80f74198916b91f0380496b1b6570ce281a1fe6a167ea1ab996bfd5cf79d", 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 unicode-width v0.1.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling simple-error v0.1.11 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling memchr v2.0.1 [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 aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling quote v0.5.1 [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn parse_duration(input: &str) -> Result> { [INFO] [stdout] 17 + fn parse_duration(input: &str) -> Result> { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stdout] 51 + fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stdout] 56 + fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "9cab80f74198916b91f0380496b1b6570ce281a1fe6a167ea1ab996bfd5cf79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cab80f74198916b91f0380496b1b6570ce281a1fe6a167ea1ab996bfd5cf79d", kill_on_drop: false }` [INFO] [stdout] 9cab80f74198916b91f0380496b1b6570ce281a1fe6a167ea1ab996bfd5cf79d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d33fc4be1eb022a3af9d026fc1a1542057d53890e2259b3c5d3acf1d26aa30a [INFO] running `Command { std: "docker" "start" "-a" "4d33fc4be1eb022a3af9d026fc1a1542057d53890e2259b3c5d3acf1d26aa30a", 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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn parse_duration(input: &str) -> Result> { [INFO] [stdout] 17 + fn parse_duration(input: &str) -> Result> { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stdout] 51 + fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stdout] 56 + fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "4d33fc4be1eb022a3af9d026fc1a1542057d53890e2259b3c5d3acf1d26aa30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d33fc4be1eb022a3af9d026fc1a1542057d53890e2259b3c5d3acf1d26aa30a", kill_on_drop: false }` [INFO] [stdout] 4d33fc4be1eb022a3af9d026fc1a1542057d53890e2259b3c5d3acf1d26aa30a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1668a05fcf415e1bbff72ccbfcafd381a584b3100627aaf1f771f8c42047febc [INFO] running `Command { std: "docker" "start" "-a" "1668a05fcf415e1bbff72ccbfcafd381a584b3100627aaf1f771f8c42047febc", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [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] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - fn parse_duration(input: &str) -> Result> { [INFO] [stderr] 17 + fn parse_duration(input: &str) -> Result> { [INFO] [stderr] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stderr] 51 + fn read_last_heartbeat(config: &Config) -> Result> { [INFO] [stderr] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stderr] 56 + fn initialize_heartbeat(config: &Config) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `autoshutdown` (bin "autoshutdown" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/autoshutdown-646fe54940a5d1a0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1668a05fcf415e1bbff72ccbfcafd381a584b3100627aaf1f771f8c42047febc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1668a05fcf415e1bbff72ccbfcafd381a584b3100627aaf1f771f8c42047febc", kill_on_drop: false }` [INFO] [stdout] 1668a05fcf415e1bbff72ccbfcafd381a584b3100627aaf1f771f8c42047febc