[INFO] fetching crate thunk 0.3.0... [INFO] checking thunk-0.3.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate thunk 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate thunk 0.3.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate thunk 0.3.0 [INFO] finished tweaking crates.io crate thunk 0.3.0 [INFO] tweaked toml for crates.io crate thunk 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0075b91fa0242b5b6da81ee445c5834f08fea3ae5d92cc9f0ad5cbfe2718d3a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0075b91fa0242b5b6da81ee445c5834f08fea3ae5d92cc9f0ad5cbfe2718d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0075b91fa0242b5b6da81ee445c5834f08fea3ae5d92cc9f0ad5cbfe2718d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0075b91fa0242b5b6da81ee445c5834f08fea3ae5d92cc9f0ad5cbfe2718d3a", kill_on_drop: false }` [INFO] [stdout] e0075b91fa0242b5b6da81ee445c5834f08fea3ae5d92cc9f0ad5cbfe2718d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5c7037394538367138fe829a87e7ba5e342fb98740ebeb929f5a3e22b100e0f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5c7037394538367138fe829a87e7ba5e342fb98740ebeb929f5a3e22b100e0f", kill_on_drop: false }` [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thunk v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/sync.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/unsync.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/sync.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/unsync.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/unsync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/sync.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | Box::from_raw(thunk_raw as *mut (FnBox() -> () + 'static)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() -> () + 'static` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sync.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | /// If the `AtomicThunk` is evaluated, do nothing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 261 | THUNK_EVALUATED => {} [INFO] [stdout] | --------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sync.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | / /// If the `AtomicThunk` is `LOCKING` or `LOCKED`, wait until the thunk is [INFO] [stdout] 264 | | /// done evaluating and then return a reference to the inner value. [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] 265 | THUNK_LOCKING | THUNK_LOCKED => unsafe { self.besiege() }, [INFO] [stdout] | --------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sync.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | / /// Only `THUNK_DEFERRED`, `THUNK_EVALUATED`, `THUNK_LOCKING`, and [INFO] [stdout] 268 | | /// `THUNK_LOCKED` are valid values of the flag. [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] 269 | / THUNK_INVALIDATED | [INFO] [stdout] 270 | | _ => unsafe { unreachable() }, [INFO] [stdout] | |_________________________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unsync.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | Box::from_raw(thunk_raw as *mut (FnBox() -> () + 'static)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() -> () + '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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | fn defer<'a, F: FnOnce() -> Self::Target + 'a>(F) -> Self where Self::Target: 'a; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/unsync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/sync.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | Box::from_raw(thunk_raw as *mut (FnBox() -> () + 'static)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() -> () + 'static` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sync.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | /// If the `AtomicThunk` is evaluated, do nothing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 261 | THUNK_EVALUATED => {} [INFO] [stdout] | --------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sync.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | / /// If the `AtomicThunk` is `LOCKING` or `LOCKED`, wait until the thunk is [INFO] [stdout] 264 | | /// done evaluating and then return a reference to the inner value. [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] 265 | THUNK_LOCKING | THUNK_LOCKED => unsafe { self.besiege() }, [INFO] [stdout] | --------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sync.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | / /// Only `THUNK_DEFERRED`, `THUNK_EVALUATED`, `THUNK_LOCKING`, and [INFO] [stdout] 268 | | /// `THUNK_LOCKED` are valid values of the flag. [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] 269 | / THUNK_INVALIDATED | [INFO] [stdout] 270 | | _ => unsafe { unreachable() }, [INFO] [stdout] | |_________________________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unsync.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | Box::from_raw(thunk_raw as *mut (FnBox() -> () + 'static)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox() -> () + '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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | fn defer<'a, F: FnOnce() -> Self::Target + 'a>(F) -> Self where Self::Target: 'a; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thunk` [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c5c7037394538367138fe829a87e7ba5e342fb98740ebeb929f5a3e22b100e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c7037394538367138fe829a87e7ba5e342fb98740ebeb929f5a3e22b100e0f", kill_on_drop: false }` [INFO] [stdout] c5c7037394538367138fe829a87e7ba5e342fb98740ebeb929f5a3e22b100e0f