[INFO] fetching crate token-cell 2.0.0... [INFO] checking token-cell-2.0.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate token-cell 2.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate token-cell 2.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate token-cell 2.0.0 [INFO] tweaked toml for crates.io crate token-cell 2.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate token-cell 2.0.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate token-cell 2.0.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03e0c11ed147130718cb269fda1b560b33bf3de1f15715dbfe1b78c88be4a4b8 [INFO] running `Command { std: "docker" "start" "-a" "03e0c11ed147130718cb269fda1b560b33bf3de1f15715dbfe1b78c88be4a4b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03e0c11ed147130718cb269fda1b560b33bf3de1f15715dbfe1b78c88be4a4b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e0c11ed147130718cb269fda1b560b33bf3de1f15715dbfe1b78c88be4a4b8", kill_on_drop: false }` [INFO] [stdout] 03e0c11ed147130718cb269fda1b560b33bf3de1f15715dbfe1b78c88be4a4b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34216d18d9a775ce9fc0e66bcbd4f8d91ce9dab6583c490ebcf029ce393ca383 [INFO] running `Command { std: "docker" "start" "-a" "34216d18d9a775ce9fc0e66bcbd4f8d91ce9dab6583c490ebcf029ce393ca383", kill_on_drop: false }` [INFO] [stderr] Checking ghost-cell v0.2.6 [INFO] [stderr] Checking token-cell v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(not(features = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 12 - #![cfg_attr(not(features = "std"), no_std)] [INFO] [stdout] 12 + #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::core::TokenCell` [INFO] [stdout] --> src/macros.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use $crate::core::TokenCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | runtime_token!(pub RuntimeToken); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `runtime_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/monads.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let borrowed = unsafe { self.cell.try_guard(token).unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/monads.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | let borrowed = unsafe { self.cell.try_guard_mut(token).unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | fn new() -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 21 | | Ok($id( [INFO] [stdout] 22 | | COUNTER.fetch_add(1, core::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 23 | | )) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | runtime_token!(pub RuntimeToken); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | / Ok($id( [INFO] [stdout] 22 | | COUNTER.fetch_add(1, core::sync::atomic::Ordering::Relaxed), [INFO] [stdout] 23 | | )) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | runtime_token!(pub RuntimeToken); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | Self::new().map(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | runtime_token!(pub RuntimeToken); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `runtime_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `token-cell` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "34216d18d9a775ce9fc0e66bcbd4f8d91ce9dab6583c490ebcf029ce393ca383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34216d18d9a775ce9fc0e66bcbd4f8d91ce9dab6583c490ebcf029ce393ca383", kill_on_drop: false }` [INFO] [stdout] 34216d18d9a775ce9fc0e66bcbd4f8d91ce9dab6583c490ebcf029ce393ca383