[INFO] fetching crate supply-chain-trust-example-crate-000022 1.21.2... [INFO] testing supply-chain-trust-example-crate-000022-1.21.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate supply-chain-trust-example-crate-000022 1.21.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000022 1.21.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000022 1.21.2 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000022 1.21.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000022 1.21.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate supply-chain-trust-example-crate-000022 1.21.2 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a278db9998c6f89b0a00b35e3f49490eb4bf6af401bb3da083551213b54efc1e [INFO] running `Command { std: "docker" "start" "-a" "a278db9998c6f89b0a00b35e3f49490eb4bf6af401bb3da083551213b54efc1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a278db9998c6f89b0a00b35e3f49490eb4bf6af401bb3da083551213b54efc1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a278db9998c6f89b0a00b35e3f49490eb4bf6af401bb3da083551213b54efc1e", kill_on_drop: false }` [INFO] [stdout] a278db9998c6f89b0a00b35e3f49490eb4bf6af401bb3da083551213b54efc1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e1ec42466d57f424709723247ea0ef0369a39526b6be97cfdb53f2c8c9bf137 [INFO] running `Command { std: "docker" "start" "-a" "1e1ec42466d57f424709723247ea0ef0369a39526b6be97cfdb53f2c8c9bf137", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000022 v1.21.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "1e1ec42466d57f424709723247ea0ef0369a39526b6be97cfdb53f2c8c9bf137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1ec42466d57f424709723247ea0ef0369a39526b6be97cfdb53f2c8c9bf137", kill_on_drop: false }` [INFO] [stdout] 1e1ec42466d57f424709723247ea0ef0369a39526b6be97cfdb53f2c8c9bf137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a10c34ad79591e90f7c4249b6e1351f1ddb7d04182a50aef4040b8b924bbe398 [INFO] running `Command { std: "docker" "start" "-a" "a10c34ad79591e90f7c4249b6e1351f1ddb7d04182a50aef4040b8b924bbe398", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000022 v1.21.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `once_cell` [INFO] [stdout] --> examples/lazy_static.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate once_cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> examples/bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (example "lazy_static") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (example "bench") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: function `once_cell` is not a crate or module [INFO] [stdout] --> tests/it/unsync_once_cell.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use once_cell::unsync::OnceCell; [INFO] [stdout] | ^^^^^^^^^ function `once_cell` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `once_cell` is not a crate or module [INFO] [stdout] --> tests/it/sync_once_cell.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use once_cell::sync::{Lazy, OnceCell}; [INFO] [stdout] | ^^^^^^^^^ function `once_cell` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> tests/it/unsync_lazy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use once_cell::unsync::Lazy; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> tests/it/sync_lazy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use once_cell::sync::{Lazy, OnceCell}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> tests/it/race.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use once_cell::race::{OnceBool, OnceNonZeroUsize}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> tests/it/race_once_box.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use once_cell::race::OnceBox; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> examples/bench_acquire.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` 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] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (example "bench_acquire") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> examples/test_synchronization.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` 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] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (example "test_synchronization") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> examples/reentrant_init_deadlocks.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | let cell = once_cell::sync::OnceCell::::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::cell::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 + use supply_chain_trust_example_crate_000022::sync::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 + use supply_chain_trust_example_crate_000022::unsync::OnceCell; [INFO] [stdout] | [INFO] [stdout] help: if you import `OnceCell`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2 - let cell = once_cell::sync::OnceCell::::new(); [INFO] [stdout] 2 + let cell = OnceCell::::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> examples/regex.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | static RE: once_cell::sync::OnceCell = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] ... [INFO] [stdout] 32 | let re: &Regex = regex!( [INFO] [stdout] | __________________________- [INFO] [stdout] 33 | | r##"^(\S+) (\S+) (\S+) \[([^]]+)\] "([^"]*)" (\d+) (\d+) "([^"]*)" "([^"]*)"$"##, [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use supply_chain_trust_example_crate_000022::sync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (example "reentrant_init_deadlocks") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] --> examples/regex.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | static RE: once_cell::sync::OnceCell = once_cell::sync::OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `once_cell` [INFO] [stdout] ... [INFO] [stdout] 32 | let re: &Regex = regex!( [INFO] [stdout] | __________________________- [INFO] [stdout] 33 | | r##"^(\S+) (\S+) (\S+) \[([^]]+)\] "([^"]*)" (\d+) (\d+) "([^"]*)" "([^"]*)"$"##, [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `once_cell`, use `cargo add once_cell` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::cell::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 + use supply_chain_trust_example_crate_000022::sync::OnceCell; [INFO] [stdout] | [INFO] [stdout] 1 + use supply_chain_trust_example_crate_000022::unsync::OnceCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (example "regex") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000022` (test "it") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a10c34ad79591e90f7c4249b6e1351f1ddb7d04182a50aef4040b8b924bbe398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10c34ad79591e90f7c4249b6e1351f1ddb7d04182a50aef4040b8b924bbe398", kill_on_drop: false }` [INFO] [stdout] a10c34ad79591e90f7c4249b6e1351f1ddb7d04182a50aef4040b8b924bbe398