[INFO] fetching crate rayon-core-wasm 1.10.2... [INFO] checking rayon-core-wasm-1.10.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rayon-core-wasm 1.10.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rayon-core-wasm 1.10.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rayon-core-wasm 1.10.2 [INFO] tweaked toml for crates.io crate rayon-core-wasm 1.10.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rayon-core-wasm 1.10.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06af30a499b531b3d1bb018810549289edda10142f519d7eb6ddb9370fb663e1 [INFO] running `Command { std: "docker" "start" "-a" "06af30a499b531b3d1bb018810549289edda10142f519d7eb6ddb9370fb663e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06af30a499b531b3d1bb018810549289edda10142f519d7eb6ddb9370fb663e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06af30a499b531b3d1bb018810549289edda10142f519d7eb6ddb9370fb663e1", kill_on_drop: false }` [INFO] [stdout] 06af30a499b531b3d1bb018810549289edda10142f519d7eb6ddb9370fb663e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d3fdf3f076e3d9c11ce3ad7ab2761d60327dc5cce6bacd49bdcef6f52f9d59 [INFO] running `Command { std: "docker" "start" "-a" "b6d3fdf3f076e3d9c11ce3ad7ab2761d60327dc5cce6bacd49bdcef6f52f9d59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rayon-core-wasm v1.10.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `rayon_rs_log` [INFO] [stdout] --> src/log.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) const LOG_ENABLED: bool = cfg!(any(rayon_rs_log, debug_assertions)); [INFO] [stdout] | ^^^^^^^^^^^^ [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(rayon_rs_log)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rayon_rs_log)");` 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] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/job.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 36 | execute_fn: unsafe fn(*const ()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/registry.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | .or_else(|err| unsafe { THE_REGISTRY.as_ref().ok_or(err) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/registry.rs:195:55 [INFO] [stdout] | [INFO] [stdout] 195 | .map(|registry: Arc| unsafe { &*THE_REGISTRY.get_or_insert(registry) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] --> tests/scope_join.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rayon_core::scope(|s| { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon_core`, use `cargo add rayon_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rayon_rs_log` [INFO] [stdout] --> src/log.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) const LOG_ENABLED: bool = cfg!(any(rayon_rs_log, debug_assertions)); [INFO] [stdout] | ^^^^^^^^^^^^ [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(rayon_rs_log)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rayon_rs_log)");` 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] error[E0432]: unresolved import `rayon_core` [INFO] [stdout] --> tests/scoped_threadpool.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon_core::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon_core`, use `cargo add rayon_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core-wasm` (test "scope_join") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `rayon_core` [INFO] [stdout] --> tests/simple_panic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon_core::join; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon_core`, use `cargo add rayon_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rayon_core` [INFO] [stdout] --> tests/double_init_fail.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon_core::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon_core`, use `cargo add rayon_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core-wasm` (test "simple_panic") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `rayon_core` [INFO] [stdout] --> tests/init_zero_threads.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon_core::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon_core`, use `cargo add rayon_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rayon_core` [INFO] [stdout] --> tests/stack_overflow_crash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon_core::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rayon_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon_core`, use `cargo add rayon_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core-wasm` (test "init_zero_threads") due to 1 previous error [INFO] [stderr] error: could not compile `rayon-core-wasm` (test "double_init_fail") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core-wasm` (test "stack_overflow_crash") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core-wasm` (test "scoped_threadpool") due to 1 previous error [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/job.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Copy, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 36 | execute_fn: unsafe fn(*const ()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/registry.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | .or_else(|err| unsafe { THE_REGISTRY.as_ref().ok_or(err) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/registry.rs:195:55 [INFO] [stdout] | [INFO] [stdout] 195 | .map(|registry: Arc| unsafe { &*THE_REGISTRY.get_or_insert(registry) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b6d3fdf3f076e3d9c11ce3ad7ab2761d60327dc5cce6bacd49bdcef6f52f9d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d3fdf3f076e3d9c11ce3ad7ab2761d60327dc5cce6bacd49bdcef6f52f9d59", kill_on_drop: false }` [INFO] [stdout] b6d3fdf3f076e3d9c11ce3ad7ab2761d60327dc5cce6bacd49bdcef6f52f9d59