[INFO] fetching crate srx 0.1.4... [INFO] checking srx-0.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate srx 0.1.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate srx 0.1.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srx 0.1.4 [INFO] finished tweaking crates.io crate srx 0.1.4 [INFO] tweaked toml for crates.io crate srx 0.1.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.5) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding serde-xml-rs v0.4.1 (available: v0.6.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a1a7e45ca681b084602df4b9c3f98ca6a8ccc91d2e2db2e162aacccf313bfc1 [INFO] running `Command { std: "docker" "start" "-a" "4a1a7e45ca681b084602df4b9c3f98ca6a8ccc91d2e2db2e162aacccf313bfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a1a7e45ca681b084602df4b9c3f98ca6a8ccc91d2e2db2e162aacccf313bfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a1a7e45ca681b084602df4b9c3f98ca6a8ccc91d2e2db2e162aacccf313bfc1", kill_on_drop: false }` [INFO] [stdout] 4a1a7e45ca681b084602df4b9c3f98ca6a8ccc91d2e2db2e162aacccf313bfc1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccaa37dec375a897b3e53fcf834cb77a60ad4c5c7bb630109e1b8dae46792995 [INFO] running `Command { std: "docker" "start" "-a" "ccaa37dec375a897b3e53fcf834cb77a60ad4c5c7bb630109e1b8dae46792995", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking srx v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SRX` in the current scope [INFO] [stdout] --> benches/bench.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | SRX::from_str(&fs::read_to_string("data/example.srx").expect("example file exists")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SRX` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | SRX::from(&fs::read_to_string("data/example.srx").expect("example file exists")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> benches/bench.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srx` (bench "bench") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SRX` in the current scope [INFO] [stdout] --> src/lib.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 242 | SRX::from_str(&fs::read_to_string("data/example.srx").expect("example file exists")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SRX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 242 | SRX::from(&fs::read_to_string("data/example.srx").expect("example file exists")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Rule` in the current scope [INFO] [stdout] --> src/lib.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 81 | struct Rule { [INFO] [stdout] | ----------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 254 | let rule = Rule::new(Some("abc"), Some("d+fg"), true).expect("test rule is valid"); [INFO] [stdout] | ^^^ function or associated item not found in `Rule` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `rand::distributions::uniform::UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SRX` in the current scope [INFO] [stdout] --> src/lib.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 265 | SRX::from_str(&fs::read_to_string("data/example.srx").expect("example file exists")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SRX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 265 | SRX::from(&fs::read_to_string("data/example.srx").expect("example file exists")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SRX` in the current scope [INFO] [stdout] --> src/lib.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 283 | SRX::from_str(&fs::read_to_string("data/segment.srx").expect("example file exists")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SRX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 283 | SRX::from(&fs::read_to_string("data/segment.srx").expect("example file exists")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SRX` in the current scope [INFO] [stdout] --> src/lib.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 300 | SRX::from_str(&fs::read_to_string("data/segment.srx").expect("example file exists")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SRX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 300 | SRX::from(&fs::read_to_string("data/segment.srx").expect("example file exists")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `SRX` in the current scope [INFO] [stdout] --> src/lib.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 310 | SRX::from_str(&fs::read_to_string("data/segment.srx").expect("segment file exists")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SRX` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 310 | SRX::from(&fs::read_to_string("data/segment.srx").expect("segment file exists")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/lib.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | use std::{fs, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srx` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ccaa37dec375a897b3e53fcf834cb77a60ad4c5c7bb630109e1b8dae46792995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccaa37dec375a897b3e53fcf834cb77a60ad4c5c7bb630109e1b8dae46792995", kill_on_drop: false }` [INFO] [stdout] ccaa37dec375a897b3e53fcf834cb77a60ad4c5c7bb630109e1b8dae46792995