[INFO] fetching crate romodoro 0.5.0... [INFO] testing romodoro-0.5.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate romodoro 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate romodoro 0.5.0 [INFO] finished tweaking crates.io crate romodoro 0.5.0 [INFO] tweaked toml for crates.io crate romodoro 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate romodoro 0.5.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.3.0) [INFO] [stderr] Adding termion v1.5.6 (available: v4.0.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.5.0 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a1fe4835af494787bfdc2099b2db90a8a61e636719c07ce393d11f69cbb83c1 [INFO] running `Command { std: "docker" "start" "-a" "0a1fe4835af494787bfdc2099b2db90a8a61e636719c07ce393d11f69cbb83c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a1fe4835af494787bfdc2099b2db90a8a61e636719c07ce393d11f69cbb83c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1fe4835af494787bfdc2099b2db90a8a61e636719c07ce393d11f69cbb83c1", kill_on_drop: false }` [INFO] [stdout] 0a1fe4835af494787bfdc2099b2db90a8a61e636719c07ce393d11f69cbb83c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2942a61b55fe9ea54a0749182091a95eebe41cf82be2f4b0b091d1f427371023 [INFO] running `Command { std: "docker" "start" "-a" "2942a61b55fe9ea54a0749182091a95eebe41cf82be2f4b0b091d1f427371023", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling romodoro v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:225:55 [INFO] [stdout] | [INFO] [stdout] 225 | fn write_duration(dur: chrono::Duration, writer: &mut std::io::Write) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn write_duration(dur: chrono::Duration, writer: &mut dyn std::io::Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.08s [INFO] running `Command { std: "docker" "inspect" "2942a61b55fe9ea54a0749182091a95eebe41cf82be2f4b0b091d1f427371023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2942a61b55fe9ea54a0749182091a95eebe41cf82be2f4b0b091d1f427371023", kill_on_drop: false }` [INFO] [stdout] 2942a61b55fe9ea54a0749182091a95eebe41cf82be2f4b0b091d1f427371023 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8e9c70e2899abc90558c4dabac054b93f586102c871d53e09365a0df37ed0c3 [INFO] running `Command { std: "docker" "start" "-a" "d8e9c70e2899abc90558c4dabac054b93f586102c871d53e09365a0df37ed0c3", kill_on_drop: false }` [INFO] [stderr] Compiling romodoro v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:225:55 [INFO] [stdout] | [INFO] [stdout] 225 | fn write_duration(dur: chrono::Duration, writer: &mut std::io::Write) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn write_duration(dur: chrono::Duration, writer: &mut dyn std::io::Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "d8e9c70e2899abc90558c4dabac054b93f586102c871d53e09365a0df37ed0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e9c70e2899abc90558c4dabac054b93f586102c871d53e09365a0df37ed0c3", kill_on_drop: false }` [INFO] [stdout] d8e9c70e2899abc90558c4dabac054b93f586102c871d53e09365a0df37ed0c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d081e04d4271fe2f2f7e36e57e4ba1883b1a20ef05fab6b26ee3ad818afd5b81 [INFO] running `Command { std: "docker" "start" "-a" "d081e04d4271fe2f2f7e36e57e4ba1883b1a20ef05fab6b26ee3ad818afd5b81", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:225:55 [INFO] [stderr] | [INFO] [stderr] 225 | fn write_duration(dur: chrono::Duration, writer: &mut std::io::Write) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 225 | fn write_duration(dur: chrono::Duration, writer: &mut dyn std::io::Write) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `romodoro` (bin "romodoro" test) generated 1 warning (run `cargo fix --bin "romodoro" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/romodoro-daf5657273e10dc3) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test duration_str_tests ... ok [INFO] [stdout] test num_bar_fill_tests ... ok [INFO] [stdout] test initialize_state_tests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d081e04d4271fe2f2f7e36e57e4ba1883b1a20ef05fab6b26ee3ad818afd5b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d081e04d4271fe2f2f7e36e57e4ba1883b1a20ef05fab6b26ee3ad818afd5b81", kill_on_drop: false }` [INFO] [stdout] d081e04d4271fe2f2f7e36e57e4ba1883b1a20ef05fab6b26ee3ad818afd5b81