[INFO] fetching crate utils 0.0.3... [INFO] checking utils-0.0.3 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate utils 0.0.3 into /workspace/builds/worker-89/source [INFO] validating manifest of crates.io crate utils 0.0.3 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-89/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded commandext v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b383506d0a296931b94fd4c73273867b5decfc09349b345e87dc72f0844b0b1b [INFO] running `Command { std: "docker" "start" "-a" "b383506d0a296931b94fd4c73273867b5decfc09349b345e87dc72f0844b0b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b383506d0a296931b94fd4c73273867b5decfc09349b345e87dc72f0844b0b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b383506d0a296931b94fd4c73273867b5decfc09349b345e87dc72f0844b0b1b", kill_on_drop: false }` [INFO] [stdout] b383506d0a296931b94fd4c73273867b5decfc09349b345e87dc72f0844b0b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31ecced5f5b97c6e51f1d5cb32282e99cc29aad074146cb9a32b8694dadddc2a [INFO] running `Command { std: "docker" "start" "-a" "31ecced5f5b97c6e51f1d5cb32282e99cc29aad074146cb9a32b8694dadddc2a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking commandext v0.1.0 [INFO] [stderr] Checking utils v0.0.3 (/opt/rustwide/workdir) [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] 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: 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:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[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: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: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: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: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/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/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/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/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/empty.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[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:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[experimental] [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] 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 enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found enum `Option<_>` [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 enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found enum `Option<_>` [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: aborting due to 16 previous errors; 1 warning emitted [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] [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 enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found enum `Option<_>` [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 enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, _>` [INFO] [stdout] found enum `Option<_>` [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] [stderr] error: could not compile `utils` due to 17 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "31ecced5f5b97c6e51f1d5cb32282e99cc29aad074146cb9a32b8694dadddc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ecced5f5b97c6e51f1d5cb32282e99cc29aad074146cb9a32b8694dadddc2a", kill_on_drop: false }` [INFO] [stdout] 31ecced5f5b97c6e51f1d5cb32282e99cc29aad074146cb9a32b8694dadddc2a