[INFO] fetching crate boc 0.0.1... [INFO] checking boc-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate boc 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate boc 0.0.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate boc 0.0.1 [INFO] tweaked toml for crates.io crate boc 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate boc 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate boc 0.0.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db1cd993ac46585794209d4157ba555e8a1ff9ae46808ba8702b28d27bfe99cd [INFO] running `Command { std: "docker" "start" "-a" "db1cd993ac46585794209d4157ba555e8a1ff9ae46808ba8702b28d27bfe99cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db1cd993ac46585794209d4157ba555e8a1ff9ae46808ba8702b28d27bfe99cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1cd993ac46585794209d4157ba555e8a1ff9ae46808ba8702b28d27bfe99cd", kill_on_drop: false }` [INFO] [stdout] db1cd993ac46585794209d4157ba555e8a1ff9ae46808ba8702b28d27bfe99cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e11db1ef591287872f20c2e3cb39cc2de8c789466ea5880e32dcf0349455b25c [INFO] running `Command { std: "docker" "start" "-a" "e11db1ef591287872f20c2e3cb39cc2de8c789466ea5880e32dcf0349455b25c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking cc v1.0.83 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking cmake v0.1.50 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Compiling boc-sys v0.0.1 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking boc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `stdx` [INFO] [stdout] --> src/lambdas.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use stdx::SetOnDrop; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 58 - use stdx::SetOnDrop; [INFO] [stdout] 58 + use std::SetOnDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stdx` [INFO] [stdout] --> src/when.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | use stdx::SetOnDrop; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 119 - use stdx::SetOnDrop; [INFO] [stdout] 119 + use std::SetOnDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> src/scheduler.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | stdx::thread::scope(|s| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 87 - stdx::thread::scope(|s| { [INFO] [stdout] 87 + std::thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 78 + use std::thread; [INFO] [stdout] | [INFO] [stdout] help: if you import `thread`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 87 - stdx::thread::scope(|s| { [INFO] [stdout] 87 + thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> src/scheduler.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | stdx::thread::scope(|s| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 101 - stdx::thread::scope(|s| { [INFO] [stdout] 101 + std::thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 78 + use std::thread; [INFO] [stdout] | [INFO] [stdout] help: if you import `thread`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - stdx::thread::scope(|s| { [INFO] [stdout] 101 + thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_1` [INFO] [stdout] --> examples/ub.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let ptr_1: &mut i32 = c1.deref_mut(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr_2` [INFO] [stdout] --> examples/ub.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let ptr_2: &mut i32 = c2.deref_mut(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ptr_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> benches/micro/banking.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdx::rand::SimpleRand; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use stdx::rand::SimpleRand; [INFO] [stdout] 3 + use std::rand::SimpleRand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> benches/micro/barber.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdx::rand::SimpleRand; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use stdx::rand::SimpleRand; [INFO] [stdout] 3 + use std::rand::SimpleRand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> tests/cown-new-stress-2.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | stdx::thread::scope(|s| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - stdx::thread::scope(|s| { [INFO] [stdout] 25 + std::thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] help: if you import `thread`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - stdx::thread::scope(|s| { [INFO] [stdout] 25 + thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> tests/cown-new-stress-2.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn create_sched_noise(s: &stdx::thread::Scope) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 55 - fn create_sched_noise(s: &stdx::thread::Scope) { [INFO] [stdout] 55 + fn create_sched_noise(s: &std::thread::Scope) { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] help: if you import `thread`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 55 - fn create_sched_noise(s: &stdx::thread::Scope) { [INFO] [stdout] 55 + fn create_sched_noise(s: &thread::Scope) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> tests/scheduler-stress.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | stdx::thread::scope(|s| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - stdx::thread::scope(|s| { [INFO] [stdout] 7 + std::thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] help: if you import `thread`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - stdx::thread::scope(|s| { [INFO] [stdout] 7 + thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stdx` [INFO] [stdout] --> tests/cown-new-stress.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | stdx::thread::scope(|s| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stdx` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - stdx::thread::scope(|s| { [INFO] [stdout] 6 + std::thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] help: if you import `thread`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - stdx::thread::scope(|s| { [INFO] [stdout] 6 + thread::scope(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `slow_tests` [INFO] [stdout] --> tests/cown-new-stress-2.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(slow_tests)] [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(slow_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(slow_tests)");` 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: `slow_tests` [INFO] [stdout] --> tests/cown-new-stress-2.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(slow_tests))] [INFO] [stdout] | ^^^^^^^^^^ [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(slow_tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(slow_tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boc` (bench "micro") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `boc` (test "cown-new-stress") due to 1 previous error [INFO] [stderr] error: could not compile `boc` (test "scheduler-stress") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/when.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(&*v, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/when.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(&*v, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] = note: required for `Vec` to implement `PartialEq<[_; 0]>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&Vec` to implement `PartialEq<&[_; 0]>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boc` (test "cown-new-stress-2") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boc` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "e11db1ef591287872f20c2e3cb39cc2de8c789466ea5880e32dcf0349455b25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11db1ef591287872f20c2e3cb39cc2de8c789466ea5880e32dcf0349455b25c", kill_on_drop: false }` [INFO] [stdout] e11db1ef591287872f20c2e3cb39cc2de8c789466ea5880e32dcf0349455b25c