[INFO] fetching crate srx 0.1.3... [INFO] testing srx-0.1.3 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate srx 0.1.3 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate srx 0.1.3 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dc9e1dbff7d1731fee40033ab54c235c1e0173c5bda34bb61406f17c112ec3f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9dc9e1dbff7d1731fee40033ab54c235c1e0173c5bda34bb61406f17c112ec3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dc9e1dbff7d1731fee40033ab54c235c1e0173c5bda34bb61406f17c112ec3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc9e1dbff7d1731fee40033ab54c235c1e0173c5bda34bb61406f17c112ec3f", kill_on_drop: false }` [INFO] [stdout] 9dc9e1dbff7d1731fee40033ab54c235c1e0173c5bda34bb61406f17c112ec3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6013c5be041ddffa43467abc47817bac4cb35028747a9e34b2073a37de6987b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6013c5be041ddffa43467abc47817bac4cb35028747a9e34b2073a37de6987b2", kill_on_drop: false }` [INFO] [stderr] Compiling srx v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "6013c5be041ddffa43467abc47817bac4cb35028747a9e34b2073a37de6987b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6013c5be041ddffa43467abc47817bac4cb35028747a9e34b2073a37de6987b2", kill_on_drop: false }` [INFO] [stdout] 6013c5be041ddffa43467abc47817bac4cb35028747a9e34b2073a37de6987b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 664af5de523326274e7a0fea772e95cd0b83d3afa22bf1886784e16597fd07fd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "664af5de523326274e7a0fea772e95cd0b83d3afa22bf1886784e16597fd07fd", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [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" "664af5de523326274e7a0fea772e95cd0b83d3afa22bf1886784e16597fd07fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "664af5de523326274e7a0fea772e95cd0b83d3afa22bf1886784e16597fd07fd", kill_on_drop: false }` [INFO] [stdout] 664af5de523326274e7a0fea772e95cd0b83d3afa22bf1886784e16597fd07fd