[INFO] fetching crate srand 0.4.0... [INFO] testing srand-0.4.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate srand 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate srand 0.4.0 [INFO] finished tweaking crates.io crate srand 0.4.0 [INFO] tweaked toml for crates.io crate srand 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate srand 0.4.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dc144919f9f93d513f7d4d1b228b676229bfa6548f8f39f9a8f8ae6db1f6eed [INFO] running `Command { std: "docker" "start" "-a" "0dc144919f9f93d513f7d4d1b228b676229bfa6548f8f39f9a8f8ae6db1f6eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc144919f9f93d513f7d4d1b228b676229bfa6548f8f39f9a8f8ae6db1f6eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc144919f9f93d513f7d4d1b228b676229bfa6548f8f39f9a8f8ae6db1f6eed", kill_on_drop: false }` [INFO] [stdout] 0dc144919f9f93d513f7d4d1b228b676229bfa6548f8f39f9a8f8ae6db1f6eed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a201f9b941dc8b3baaa4b006127eb6f9e7abd78d324dc59d4dcb568c0a315d16 [INFO] running `Command { std: "docker" "start" "-a" "a201f9b941dc8b3baaa4b006127eb6f9e7abd78d324dc59d4dcb568c0a315d16", kill_on_drop: false }` [INFO] [stderr] Compiling srand v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/reader.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/reader.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this arithmetic operation will overflow [INFO] [stdout] --> src/rand.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | let f: f64 = self.int64() as f64 / (1 << 63) as f64; [INFO] [stdout] | ^^^^^^^^^ attempt to shift left by `63_i32`, which would overflow [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(arithmetic_overflow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "a201f9b941dc8b3baaa4b006127eb6f9e7abd78d324dc59d4dcb568c0a315d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a201f9b941dc8b3baaa4b006127eb6f9e7abd78d324dc59d4dcb568c0a315d16", kill_on_drop: false }` [INFO] [stdout] a201f9b941dc8b3baaa4b006127eb6f9e7abd78d324dc59d4dcb568c0a315d16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef64ce16c69ae71125eb47636c7577a8ea6477f3c46cfc853b163fe79df97828 [INFO] running `Command { std: "docker" "start" "-a" "ef64ce16c69ae71125eb47636c7577a8ea6477f3c46cfc853b163fe79df97828", kill_on_drop: false }` [INFO] [stderr] Compiling srand v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/reader.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/reader.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this arithmetic operation will overflow [INFO] [stdout] --> src/rand.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | let f: f64 = self.int64() as f64 / (1 << 63) as f64; [INFO] [stdout] | ^^^^^^^^^ attempt to shift left by `63_i32`, which would overflow [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(arithmetic_overflow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/reader.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/reader.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this arithmetic operation will overflow [INFO] [stdout] --> src/rand.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | let f: f64 = self.int64() as f64 / (1 << 63) as f64; [INFO] [stdout] | ^^^^^^^^^ attempt to shift left by `63_i32`, which would overflow [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(arithmetic_overflow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "ef64ce16c69ae71125eb47636c7577a8ea6477f3c46cfc853b163fe79df97828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef64ce16c69ae71125eb47636c7577a8ea6477f3c46cfc853b163fe79df97828", kill_on_drop: false }` [INFO] [stdout] ef64ce16c69ae71125eb47636c7577a8ea6477f3c46cfc853b163fe79df97828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78bb54ae1dc1f3ae274833ac4e3534c300c237bc66d1d950e2d5de0413699674 [INFO] running `Command { std: "docker" "start" "-a" "78bb54ae1dc1f3ae274833ac4e3534c300c237bc66d1d950e2d5de0413699674", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `linux` [INFO] [stderr] --> src/reader.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macos` [INFO] [stderr] --> src/reader.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(any(linux,unix,macos))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: this arithmetic operation will overflow [INFO] [stderr] --> src/rand.rs:217:48 [INFO] [stderr] | [INFO] [stderr] 217 | let f: f64 = self.int64() as f64 / (1 << 63) as f64; [INFO] [stderr] | ^^^^^^^^^ attempt to shift left by `63_i32`, which would overflow [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(arithmetic_overflow)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `srand` (lib) generated 3 warnings [INFO] [stderr] warning: `srand` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/srand-d162d19e45d69b70) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test source::test::print_const ... ok [INFO] [stdout] test source::test::test_ops ... ok [INFO] [stdout] test reader::test::random_read_examples ... ok [INFO] [stdout] test rand::test::examples ... ok [INFO] [stderr] Doc-tests srand [INFO] [stdout] test thread_local::test::example_thread_local ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/source.rs - source::RngSource::new (line 655) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::uint32 (line 107) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::int64 (line 56) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::float64 (line 206) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::int64n (line 154) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::uint64 (line 73) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::float32 (line 184) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::new (line 33) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::int32n (line 125) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::shuffle (line 228) - compile ... ok [INFO] [stdout] test src/rand.rs - rand::Rand::int32 (line 90) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78bb54ae1dc1f3ae274833ac4e3534c300c237bc66d1d950e2d5de0413699674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78bb54ae1dc1f3ae274833ac4e3534c300c237bc66d1d950e2d5de0413699674", kill_on_drop: false }` [INFO] [stdout] 78bb54ae1dc1f3ae274833ac4e3534c300c237bc66d1d950e2d5de0413699674