[INFO] fetching crate treereduce 0.3.1... [INFO] testing treereduce-0.3.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate treereduce 0.3.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate treereduce 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate treereduce 0.3.1 [INFO] tweaked toml for crates.io crate treereduce 0.3.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate treereduce 0.3.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate treereduce 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.86 [INFO] [stderr] Downloaded tree-sitter-java v0.20.2 [INFO] [stderr] Downloaded clap-verbosity-flag v2.2.2 [INFO] [stderr] Downloaded tree-sitter-edit v0.3.0 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded tree-sitter-traversal v0.1.2 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded tree-sitter-c v0.20.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 265f2777c5e78392ee6630eaf9e2e3483a8f83d063fd04743d7283f034882646 [INFO] running `Command { std: "docker" "start" "-a" "265f2777c5e78392ee6630eaf9e2e3483a8f83d063fd04743d7283f034882646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "265f2777c5e78392ee6630eaf9e2e3483a8f83d063fd04743d7283f034882646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265f2777c5e78392ee6630eaf9e2e3483a8f83d063fd04743d7283f034882646", kill_on_drop: false }` [INFO] [stdout] 265f2777c5e78392ee6630eaf9e2e3483a8f83d063fd04743d7283f034882646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20b4a2365c949790ec4c93f39ee37d3acde23d6f936c09b1177720459858cac8 [INFO] running `Command { std: "docker" "start" "-a" "20b4a2365c949790ec4c93f39ee37d3acde23d6f936c09b1177720459858cac8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tree-sitter-traversal v0.1.2 [INFO] [stderr] Compiling tree-sitter-edit v0.3.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling treereduce v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.18s [INFO] running `Command { std: "docker" "inspect" "20b4a2365c949790ec4c93f39ee37d3acde23d6f936c09b1177720459858cac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b4a2365c949790ec4c93f39ee37d3acde23d6f936c09b1177720459858cac8", kill_on_drop: false }` [INFO] [stdout] 20b4a2365c949790ec4c93f39ee37d3acde23d6f936c09b1177720459858cac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c97304589ea226705b7780748f13f76639ba8c97154e20f2beb3a751e47be7e3 [INFO] running `Command { std: "docker" "start" "-a" "c97304589ea226705b7780748f13f76639ba8c97154e20f2beb3a751e47be7e3", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-c v0.20.6 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling treereduce v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/bench.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap` [INFO] [stdout] --> examples/bench.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(clap::ValueEnum, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap` [INFO] [stdout] --> examples/bench.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(clap::ValueEnum, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap` [INFO] [stdout] --> examples/bench.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(clap::ValueEnum, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> examples/bench.rs:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | #[command(author, version, about, long_about = None)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | #[arg(long, default_values_t = vec![Config::Default], value_name = "CONF")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:300:7 [INFO] [stdout] | [INFO] [stdout] 300 | #[arg(long, default_value_t = Oracle::False)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | #[arg(short, long, default_value_t = 1)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | #[arg(long, default_values_t = vec![Tool::Treereduce], value_name = "TOOL")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | #[arg(long, default_value_t = String::from(""))] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:312:7 [INFO] [stdout] | [INFO] [stdout] 312 | #[arg(long, default_value_t = 1)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/bench.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | #[arg(value_name = "SRC_FILE")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 180 | / Command::new("creduce") [INFO] [stdout] 181 | | .args(args) [INFO] [stdout] 182 | | .stdout(Stdio::piped()) [INFO] [stdout] 183 | | .stderr(Stdio::piped()) [INFO] [stdout] 184 | | .spawn() [INFO] [stdout] 185 | | .context("Failed to spawn c-reduce")? [INFO] [stdout] | | -^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 204 | / Command::new("halfempty") [INFO] [stdout] 205 | | .args(args) [INFO] [stdout] 206 | | .stdout(Stdio::piped()) [INFO] [stdout] 207 | | .stderr(Stdio::piped()) [INFO] [stdout] 208 | | .spawn() [INFO] [stdout] 209 | | .context("Failed to spawn halfempty")? [INFO] [stdout] | | -^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 237 | let out = Command::new("picireny") [INFO] [stdout] | ___________________________- [INFO] [stdout] 238 | | .args(args) [INFO] [stdout] 239 | | .stdout(Stdio::piped()) [INFO] [stdout] 240 | | .stderr(Stdio::piped()) [INFO] [stdout] 241 | | .spawn() [INFO] [stdout] 242 | | .context("Failed to spawn picireny")? [INFO] [stdout] | | -^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 270 | / Command::new("treereduce-c") [INFO] [stdout] 271 | | .args(args) [INFO] [stdout] 272 | | .stdout(Stdio::piped()) [INFO] [stdout] 273 | | .stderr(Stdio::piped()) [INFO] [stdout] 274 | | .spawn() [INFO] [stdout] 275 | | .context("Failed to spawn treereduce-c")? [INFO] [stdout] | | -^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:326:10 [INFO] [stdout] | [INFO] [stdout] 325 | / std::fs::copy(file, OUT_FILE) [INFO] [stdout] 326 | | .with_context(|| format!("Failed to copy input file {} to {}", path_str, OUT_FILE))?; [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 327 | let src = std::fs::read_to_string(file) [INFO] [stdout] | _______________- [INFO] [stdout] 328 | | .with_context(|| format!("Failed to read input file {}", path_str))?; [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> examples/bench.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 353 | let result = std::fs::read_to_string(OUT_FILE) [INFO] [stdout] | __________________- [INFO] [stdout] 354 | | .with_context(|| format!("Failed to read output file {}", "out"))?; [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> examples/bench.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct Args { [INFO] [stdout] | --------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 377 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treereduce` (example "bench") due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c97304589ea226705b7780748f13f76639ba8c97154e20f2beb3a751e47be7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97304589ea226705b7780748f13f76639ba8c97154e20f2beb3a751e47be7e3", kill_on_drop: false }` [INFO] [stdout] c97304589ea226705b7780748f13f76639ba8c97154e20f2beb3a751e47be7e3