[INFO] fetching crate thread_isolated 0.1.1... [INFO] checking thread_isolated-0.1.1 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate thread_isolated 0.1.1 into /workspace/builds/worker-89/source [INFO] validating manifest of crates.io crate thread_isolated 0.1.1 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate thread_isolated 0.1.1 [INFO] finished tweaking crates.io crate thread_isolated 0.1.1 [INFO] tweaked toml for crates.io crate thread_isolated 0.1.1 written to /workspace/builds/worker-89/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5005c1c14f919b282f76e10f204e21db9a644d34faf0e04cc16ff927d67d5352 [INFO] running `Command { std: "docker" "start" "-a" "5005c1c14f919b282f76e10f204e21db9a644d34faf0e04cc16ff927d67d5352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5005c1c14f919b282f76e10f204e21db9a644d34faf0e04cc16ff927d67d5352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5005c1c14f919b282f76e10f204e21db9a644d34faf0e04cc16ff927d67d5352", kill_on_drop: false }` [INFO] [stdout] 5005c1c14f919b282f76e10f204e21db9a644d34faf0e04cc16ff927d67d5352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c13a758d710c058dbc965c94f81d4bba22338b5e7f852b8e6b5bee7529e4b251 [INFO] running `Command { std: "docker" "start" "-a" "c13a758d710c058dbc965c94f81d4bba22338b5e7f852b8e6b5bee7529e4b251", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking thread_isolated v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/lib.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn run_on_owning_thread(&self, f: Box); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | runner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IsolationRunner` [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/lib.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | let closure: Box = Box::new(move|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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/lib.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | let closure: Box = unsafe { mem::transmute(closure) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send + 'static` [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] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/lib.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | select! ( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn run_on_owning_thread(&self, f: Box); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | runner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IsolationRunner` [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/lib.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | let closure: Box = Box::new(move|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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/lib.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | let closure: Box = unsafe { mem::transmute(closure) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send + 'static` [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/lib.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | tx: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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/lib.rs:284:55 [INFO] [stdout] | [INFO] [stdout] 284 | fn run_on_owning_thread(&self, boxed: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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/lib.rs:359:51 [INFO] [stdout] | [INFO] [stdout] 359 | fn run_on_owning_thread(&self, f: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() + Send` [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: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:220:45 [INFO] [stdout] | [INFO] [stdout] 220 | static THREAD_ID_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:220:45 [INFO] [stdout] | [INFO] [stdout] 220 | static THREAD_ID_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thread_isolated` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c13a758d710c058dbc965c94f81d4bba22338b5e7f852b8e6b5bee7529e4b251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c13a758d710c058dbc965c94f81d4bba22338b5e7f852b8e6b5bee7529e4b251", kill_on_drop: false }` [INFO] [stdout] c13a758d710c058dbc965c94f81d4bba22338b5e7f852b8e6b5bee7529e4b251