[INFO] fetching crate checked_cast 0.0.3... [INFO] testing checked_cast-0.0.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate checked_cast 0.0.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate checked_cast 0.0.3 [INFO] finished tweaking crates.io crate checked_cast 0.0.3 [INFO] tweaked toml for crates.io crate checked_cast 0.0.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate checked_cast 0.0.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2716c4dbb8ae8c5343ce794c08551faf4571e5be6163a32840fc5198758941a [INFO] running `Command { std: "docker" "start" "-a" "e2716c4dbb8ae8c5343ce794c08551faf4571e5be6163a32840fc5198758941a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2716c4dbb8ae8c5343ce794c08551faf4571e5be6163a32840fc5198758941a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2716c4dbb8ae8c5343ce794c08551faf4571e5be6163a32840fc5198758941a", kill_on_drop: false }` [INFO] [stdout] e2716c4dbb8ae8c5343ce794c08551faf4571e5be6163a32840fc5198758941a [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0ed2032a79a3766f8d90a65daf35ed06ca5c2e7a736ba52b526e47931623741 [INFO] running `Command { std: "docker" "start" "-a" "f0ed2032a79a3766f8d90a65daf35ed06ca5c2e7a736ba52b526e47931623741", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling checked_cast v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "f0ed2032a79a3766f8d90a65daf35ed06ca5c2e7a736ba52b526e47931623741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ed2032a79a3766f8d90a65daf35ed06ca5c2e7a736ba52b526e47931623741", kill_on_drop: false }` [INFO] [stdout] f0ed2032a79a3766f8d90a65daf35ed06ca5c2e7a736ba52b526e47931623741 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 948ae80066f6b8be80f4fb72e09b5c2ea1aa0f8224ecda6dba40eaca85d13aa2 [INFO] running `Command { std: "docker" "start" "-a" "948ae80066f6b8be80f4fb72e09b5c2ea1aa0f8224ecda6dba40eaca85d13aa2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling checked_cast v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "948ae80066f6b8be80f4fb72e09b5c2ea1aa0f8224ecda6dba40eaca85d13aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948ae80066f6b8be80f4fb72e09b5c2ea1aa0f8224ecda6dba40eaca85d13aa2", kill_on_drop: false }` [INFO] [stdout] 948ae80066f6b8be80f4fb72e09b5c2ea1aa0f8224ecda6dba40eaca85d13aa2 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5be0773be18e8aee2d6ee6e880475e5afd6e3639e61050e99de92cf282504cfb [INFO] running `Command { std: "docker" "start" "-a" "5be0773be18e8aee2d6ee6e880475e5afd6e3639e61050e99de92cf282504cfb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unknown lint: `unstable` [INFO] [stderr] --> src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `checked_cast` (lib) generated 1 warning [INFO] [stderr] warning: `checked_cast` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/checked_cast-7d8719b6633c2725) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests checked_cast [INFO] [stdout] [INFO] [stderr] warning: unknown lint: `unstable` [INFO] [stdout] running 1 test [INFO] [stderr] --> src/lib.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #![allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] test src/lib.rs - core (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - core (line 7) stdout ---- [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 20 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 20 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 29 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 29 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 37 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 37 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 45 | let dcast: Option = checked_cast!(d, u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 45 | let dcast: Option = checked_cast!(d, u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 55 | let ecast: i16 = checked_cast!(e, i16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Int` in `num` [INFO] [stdout] --> src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 55 | let ecast: i16 = checked_cast!(e, i16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 44 | let d: int = 2314; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 19 | let a: libc::c_short = -1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 20 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 20 | let acast: Option = checked_cast!(a, libc::c_ulong); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | let b: libc::c_longlong = 235234523; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 29 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 29 | let bcast: Option = checked_cast!(b, libc::c_int); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 36 | let c: libc::c_short = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 37 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 37 | let ccast: Option = checked_cast!(c, libc::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - core (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5be0773be18e8aee2d6ee6e880475e5afd6e3639e61050e99de92cf282504cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be0773be18e8aee2d6ee6e880475e5afd6e3639e61050e99de92cf282504cfb", kill_on_drop: false }` [INFO] [stdout] 5be0773be18e8aee2d6ee6e880475e5afd6e3639e61050e99de92cf282504cfb