[INFO] fetching crate srx 0.1.3... [INFO] testing srx-0.1.3 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate srx 0.1.3 into /workspace/builds/worker-107/source [INFO] validating manifest of crates.io crate srx 0.1.3 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srx 0.1.3 [INFO] finished tweaking crates.io crate srx 0.1.3 [INFO] tweaked toml for crates.io crate srx 0.1.3 written to /workspace/builds/worker-107/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2f8e15e9b36f0e57ccaf69b6ac32a207873f89554f50bc6a418ec5d331cc03e [INFO] running `Command { std: "docker" "start" "-a" "e2f8e15e9b36f0e57ccaf69b6ac32a207873f89554f50bc6a418ec5d331cc03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2f8e15e9b36f0e57ccaf69b6ac32a207873f89554f50bc6a418ec5d331cc03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f8e15e9b36f0e57ccaf69b6ac32a207873f89554f50bc6a418ec5d331cc03e", kill_on_drop: false }` [INFO] [stdout] e2f8e15e9b36f0e57ccaf69b6ac32a207873f89554f50bc6a418ec5d331cc03e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 447cb75fb747460727d5145b1d55d2185d391908a7a037630c531cd661e349f1 [INFO] running `Command { std: "docker" "start" "-a" "447cb75fb747460727d5145b1d55d2185d391908a7a037630c531cd661e349f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling srx v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.74s [INFO] running `Command { std: "docker" "inspect" "447cb75fb747460727d5145b1d55d2185d391908a7a037630c531cd661e349f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447cb75fb747460727d5145b1d55d2185d391908a7a037630c531cd661e349f1", kill_on_drop: false }` [INFO] [stdout] 447cb75fb747460727d5145b1d55d2185d391908a7a037630c531cd661e349f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e1dde85193980a7b18dec142ce89c5c98fb23ec8bc9e91b0d859cbc32fb89f1 [INFO] running `Command { std: "docker" "start" "-a" "5e1dde85193980a7b18dec142ce89c5c98fb23ec8bc9e91b0d859cbc32fb89f1", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling srx v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Rule` in the current scope [INFO] [stdout] --> src/lib.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 81 | struct Rule { [INFO] [stdout] | ----------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 241 | 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] [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:252:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 252 | 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] [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:270:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 270 | 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] [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:287:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 287 | 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] [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:297:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 297 | 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] [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 5 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` due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5e1dde85193980a7b18dec142ce89c5c98fb23ec8bc9e91b0d859cbc32fb89f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1dde85193980a7b18dec142ce89c5c98fb23ec8bc9e91b0d859cbc32fb89f1", kill_on_drop: false }` [INFO] [stdout] 5e1dde85193980a7b18dec142ce89c5c98fb23ec8bc9e91b0d859cbc32fb89f1