[INFO] fetching crate cast_checks 0.1.6... [INFO] checking cast_checks-0.1.6 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cast_checks 0.1.6 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate cast_checks 0.1.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cast_checks 0.1.6 [INFO] tweaked toml for crates.io crate cast_checks 0.1.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cast_checks 0.1.6 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 cast_checks 0.1.6 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 456fde376069f8a914dd818e7a50e934b6efe25bb69e12fcebe7ef758a7f3133 [INFO] running `Command { std: "docker" "start" "-a" "456fde376069f8a914dd818e7a50e934b6efe25bb69e12fcebe7ef758a7f3133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "456fde376069f8a914dd818e7a50e934b6efe25bb69e12fcebe7ef758a7f3133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456fde376069f8a914dd818e7a50e934b6efe25bb69e12fcebe7ef758a7f3133", kill_on_drop: false }` [INFO] [stdout] 456fde376069f8a914dd818e7a50e934b6efe25bb69e12fcebe7ef758a7f3133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7d5af1d7ed3d53c41dfdba98d136eaaafd3075f68df2dd0f8ab894c22bbca995 [INFO] running `Command { std: "docker" "start" "-a" "7d5af1d7ed3d53c41dfdba98d136eaaafd3075f68df2dd0f8ab894c22bbca995", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling cast_checks_macro v0.1.6 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Checking cast_checks_convert v0.1.6 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking dtor v0.0.5 [INFO] [stderr] Checking ctor v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking cast_checks v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<*const char, Infallible> [INFO] [stdout] --> tests/basic.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let a = 300 as *const char; // `a` is a pointer to location 300. [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 [INFO] [stdout] --> tests/basic.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let _ = a as u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let _ = 1f32 as i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let _ = 1f64 as i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | x as f64 / 2.0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | (-1 * i32::MIN) as i64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | -1 * i32::MIN as i64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cast_checks` (test "basic") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7d5af1d7ed3d53c41dfdba98d136eaaafd3075f68df2dd0f8ab894c22bbca995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5af1d7ed3d53c41dfdba98d136eaaafd3075f68df2dd0f8ab894c22bbca995", kill_on_drop: false }` [INFO] [stdout] 7d5af1d7ed3d53c41dfdba98d136eaaafd3075f68df2dd0f8ab894c22bbca995