[INFO] cloning repository https://github.com/mkolosick/timer.rs-temp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkolosick/timer.rs-temp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkolosick%2Ftimer.rs-temp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkolosick%2Ftimer.rs-temp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5faea7d971245aac4e67504fc41236a94c9c69ef [INFO] checking mkolosick/timer.rs-temp/5faea7d971245aac4e67504fc41236a94c9c69ef against master#82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkolosick%2Ftimer.rs-temp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mkolosick/timer.rs-temp [INFO] finished tweaking git repo https://github.com/mkolosick/timer.rs-temp [INFO] tweaked toml for git repo https://github.com/mkolosick/timer.rs-temp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mkolosick/timer.rs-temp on toolchain 82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mkolosick/timer.rs-temp 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" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating git repository `https://github.com/mkolosick/rust-chrono-temp.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded time v0.1.34 [INFO] [stderr] Downloaded num-traits v0.1.35 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded num v0.1.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be9d520a6cd3d827ad60f546b9086ad85b1ff49e17bbadbd816663a75861176c [INFO] running `Command { std: "docker" "start" "-a" "be9d520a6cd3d827ad60f546b9086ad85b1ff49e17bbadbd816663a75861176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be9d520a6cd3d827ad60f546b9086ad85b1ff49e17bbadbd816663a75861176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9d520a6cd3d827ad60f546b9086ad85b1ff49e17bbadbd816663a75861176c", kill_on_drop: false }` [INFO] [stdout] be9d520a6cd3d827ad60f546b9086ad85b1ff49e17bbadbd816663a75861176c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ede0a2ee0fdddb631b593c3f08021e7ef07c6a5db85bb4422413f0cb9e9d2f9 [INFO] running `Command { std: "docker" "start" "-a" "0ede0a2ee0fdddb631b593c3f08021e7ef07c6a5db85bb4422413f0cb9e9d2f9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking num-traits v0.1.35 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Checking kernel32-sys v0.2.2 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.35 [INFO] [stderr] Checking chrono v0.2.25 (https://github.com/mkolosick/rust-chrono-temp.git#37eccf1a) [INFO] [stderr] Checking timer v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | base: TimerBase> [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] = 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] 336 | base: TimerBase> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | impl Executor> for CallbackExecutor { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | impl Executor> for CallbackExecutor { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | fn execute(&mut self, mut data : 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | fn execute(&mut self, mut data : Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:109:72 [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/lib.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | let _ = waiter.condvar.wait(lock); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` (part of `#[deny(let_underscore)]`) on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 216 | let _unused = waiter.condvar.wait(lock); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 216 - let _ = waiter.condvar.wait(lock); [INFO] [stdout] 216 + drop(waiter.condvar.wait(lock)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | base: TimerBase> [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] = 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] 336 | base: TimerBase> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | impl Executor> for CallbackExecutor { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | impl Executor> for CallbackExecutor { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | fn execute(&mut self, mut data : 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | fn execute(&mut self, mut data : Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:109:72 [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn execute_clone(&mut self, mut data : Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/lib.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | let _ = waiter.condvar.wait(lock); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` (part of `#[deny(let_underscore)]`) on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 216 | let _unused = waiter.condvar.wait(lock); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 216 - let _ = waiter.condvar.wait(lock); [INFO] [stdout] 216 + drop(waiter.condvar.wait(lock)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timer` (lib) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `timer` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ede0a2ee0fdddb631b593c3f08021e7ef07c6a5db85bb4422413f0cb9e9d2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ede0a2ee0fdddb631b593c3f08021e7ef07c6a5db85bb4422413f0cb9e9d2f9", kill_on_drop: false }` [INFO] [stdout] 0ede0a2ee0fdddb631b593c3f08021e7ef07c6a5db85bb4422413f0cb9e9d2f9