[INFO] fetching crate utils 0.0.3... [INFO] testing utils-0.0.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate utils 0.0.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate utils 0.0.3 [INFO] finished tweaking crates.io crate utils 0.0.3 [INFO] tweaked toml for crates.io crate utils 0.0.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate utils 0.0.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 900c0643bce8fa66467c7bfb2565f5e1b3e9ef7970b8bab01b109a73fec1bec7 [INFO] running `Command { std: "docker" "start" "-a" "900c0643bce8fa66467c7bfb2565f5e1b3e9ef7970b8bab01b109a73fec1bec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "900c0643bce8fa66467c7bfb2565f5e1b3e9ef7970b8bab01b109a73fec1bec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "900c0643bce8fa66467c7bfb2565f5e1b3e9ef7970b8bab01b109a73fec1bec7", kill_on_drop: false }` [INFO] [stdout] 900c0643bce8fa66467c7bfb2565f5e1b3e9ef7970b8bab01b109a73fec1bec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4a5cbc6df70f06ede70156c036f81fe1923cc835db8ff9fb71656ef64dd11e1 [INFO] running `Command { std: "docker" "start" "-a" "c4a5cbc6df70f06ede70156c036f81fe1923cc835db8ff9fb71656ef64dd11e1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling commandext v0.1.0 [INFO] [stderr] Compiling utils v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/empty.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/empty.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/empty.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/empty.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/empty.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/empty.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/empty.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | self.as_slice().is_empty() [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output` on type `Output` [INFO] [stdout] --> src/lib.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | match str::from_utf8(p.output.as_slice()).unwrap().trim().parse() { [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `status`, `stdout`, `stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 17 | match str::from_utf8(p.output.as_slice()).unwrap().trim().parse() { [INFO] [stdout] | ----------------------------------------------------------- this expression has type `Result<_, _>` [INFO] [stdout] 18 | Some(i) => i, [INFO] [stdout] | ^^^^^^^ expected `Result<_, _>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: try wrapping the pattern in a variant of `Result` [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Some(i)) => i, [INFO] [stdout] | +++ + [INFO] [stdout] 18 | Err(Some(i)) => i, [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 17 | match str::from_utf8(p.output.as_slice()).unwrap().trim().parse() { [INFO] [stdout] | ----------------------------------------------------------- this expression has type `Result<_, _>` [INFO] [stdout] 18 | Some(i) => i, [INFO] [stdout] 19 | None => panic!("unable to cast nproc output!"), [INFO] [stdout] | ^^^^ expected `Result<_, _>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: try wrapping the pattern in a variant of `Result` [INFO] [stdout] | [INFO] [stdout] 19 | Ok(None) => panic!("unable to cast nproc output!"), [INFO] [stdout] | +++ + [INFO] [stdout] 19 | Err(None) => panic!("unable to cast nproc output!"), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output` on type `Output` [INFO] [stdout] --> src/lib.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | let mut res = String::from_utf8_lossy(o.output.as_slice()); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `status`, `stdout`, `stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utils` (lib) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c4a5cbc6df70f06ede70156c036f81fe1923cc835db8ff9fb71656ef64dd11e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a5cbc6df70f06ede70156c036f81fe1923cc835db8ff9fb71656ef64dd11e1", kill_on_drop: false }` [INFO] [stdout] c4a5cbc6df70f06ede70156c036f81fe1923cc835db8ff9fb71656ef64dd11e1