[INFO] fetching crate srx 0.1.4... [INFO] testing srx-0.1.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate srx 0.1.4 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate srx 0.1.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v3.0.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding serde-xml-rs v0.4.1 (available: v0.8.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 299e92d6e3ce8aba4654ed956a8563e483f4ef5b65e92c85222581dab3e9c2e6 [INFO] running `Command { std: "docker" "start" "-a" "299e92d6e3ce8aba4654ed956a8563e483f4ef5b65e92c85222581dab3e9c2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "299e92d6e3ce8aba4654ed956a8563e483f4ef5b65e92c85222581dab3e9c2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299e92d6e3ce8aba4654ed956a8563e483f4ef5b65e92c85222581dab3e9c2e6", kill_on_drop: false }` [INFO] [stdout] 299e92d6e3ce8aba4654ed956a8563e483f4ef5b65e92c85222581dab3e9c2e6 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1412f71ed6ccba60f6874ebc4809f95f24272b7b71452edfd851e0e9ba99e436 [INFO] running `Command { std: "docker" "start" "-a" "1412f71ed6ccba60f6874ebc4809f95f24272b7b71452edfd851e0e9ba99e436", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling srx v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.41s [INFO] running `Command { std: "docker" "inspect" "1412f71ed6ccba60f6874ebc4809f95f24272b7b71452edfd851e0e9ba99e436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1412f71ed6ccba60f6874ebc4809f95f24272b7b71452edfd851e0e9ba99e436", kill_on_drop: false }` [INFO] [stdout] 1412f71ed6ccba60f6874ebc4809f95f24272b7b71452edfd851e0e9ba99e436 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c22dab5a17e1f3de49f8dd32f6fc31d12359971fc801014631b73b3abd604dd [INFO] running `Command { std: "docker" "start" "-a" "2c22dab5a17e1f3de49f8dd32f6fc31d12359971fc801014631b73b3abd604dd", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.11.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling quickcheck v1.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling quickcheck_macros v1.2.0 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling srx v0.1.4 (/opt/rustwide/workdir) [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_str(&fs::read_to_string("data/example.srx").expect("example file exists")) [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::distr::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_str(&fs::read_to_string("data/example.srx").expect("example file exists")) [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_str(&fs::read_to_string("data/segment.srx").expect("example file exists")) [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_str(&fs::read_to_string("data/segment.srx").expect("example file exists")) [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_str(&fs::read_to_string("data/segment.srx").expect("segment file exists")) [INFO] [stdout] 310 + SRX::from(&fs::read_to_string("data/segment.srx").expect("segment file exists")) [INFO] [stdout] | [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 6 previous errors [INFO] running `Command { std: "docker" "inspect" "2c22dab5a17e1f3de49f8dd32f6fc31d12359971fc801014631b73b3abd604dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c22dab5a17e1f3de49f8dd32f6fc31d12359971fc801014631b73b3abd604dd", kill_on_drop: false }` [INFO] [stdout] 2c22dab5a17e1f3de49f8dd32f6fc31d12359971fc801014631b73b3abd604dd