[INFO] fetching crate srx 0.1.2... [INFO] checking srx-0.1.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate srx 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate srx 0.1.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srx 0.1.2 [INFO] finished tweaking crates.io crate srx 0.1.2 [INFO] tweaked toml for crates.io crate srx 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2cc168d1c695f66b346d3799908b93f5f5ac4dda04d61fd7cdef36f47793e9d [INFO] running `Command { std: "docker" "start" "-a" "b2cc168d1c695f66b346d3799908b93f5f5ac4dda04d61fd7cdef36f47793e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2cc168d1c695f66b346d3799908b93f5f5ac4dda04d61fd7cdef36f47793e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cc168d1c695f66b346d3799908b93f5f5ac4dda04d61fd7cdef36f47793e9d", kill_on_drop: false }` [INFO] [stdout] b2cc168d1c695f66b346d3799908b93f5f5ac4dda04d61fd7cdef36f47793e9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9d3cbf276f43768a983df95ee4ee0583b611ab046edbd1f7e7f0f5717c024c4e [INFO] running `Command { std: "docker" "start" "-a" "9d3cbf276f43768a983df95ee4ee0583b611ab046edbd1f7e7f0f5717c024c4e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking srx v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [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] [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[E0599]: no function or associated item named `new` found for struct `Rule` in the current scope [INFO] [stdout] --> src/lib.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 81 | struct Rule { [INFO] [stdout] | ----------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 227 | 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:235:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 235 | 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:254:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 254 | 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:264:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct SRX { [INFO] [stdout] | -------------- function or associated item `from_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 264 | 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:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | 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 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9d3cbf276f43768a983df95ee4ee0583b611ab046edbd1f7e7f0f5717c024c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d3cbf276f43768a983df95ee4ee0583b611ab046edbd1f7e7f0f5717c024c4e", kill_on_drop: false }` [INFO] [stdout] 9d3cbf276f43768a983df95ee4ee0583b611ab046edbd1f7e7f0f5717c024c4e