[INFO] fetching crate chao 0.1.0... [INFO] checking chao-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate chao 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate chao 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chao 0.1.0 [INFO] finished tweaking crates.io crate chao 0.1.0 [INFO] tweaked toml for crates.io crate chao 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages [INFO] [stderr] Adding ascii v0.9.3 (latest: v1.1.0) [INFO] [stderr] Adding bitflags v0.4.0 (latest: v2.5.0) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding combine v3.8.1 (latest: v4.6.6) [INFO] [stderr] Adding encode_unicode v0.1.3 (latest: v1.0.0) [INFO] [stderr] Adding itertools v0.7.11 (latest: v0.12.1) [INFO] [stderr] Adding nix v0.5.1 (latest: v0.28.0) [INFO] [stderr] Adding rustyline v1.0.0 (latest: v14.0.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded libchao v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1706e6f854b0ef73372d22c638da3bab9a6e15d21391d3ba1b506703f8e634 [INFO] running `Command { std: "docker" "start" "-a" "6b1706e6f854b0ef73372d22c638da3bab9a6e15d21391d3ba1b506703f8e634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1706e6f854b0ef73372d22c638da3bab9a6e15d21391d3ba1b506703f8e634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1706e6f854b0ef73372d22c638da3bab9a6e15d21391d3ba1b506703f8e634", kill_on_drop: false }` [INFO] [stdout] 6b1706e6f854b0ef73372d22c638da3bab9a6e15d21391d3ba1b506703f8e634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dc95697555bae405f0594fdae8fa6f38c05228aab01519aa07f0c19ee04fcf9 [INFO] running `Command { std: "docker" "start" "-a" "2dc95697555bae405f0594fdae8fa6f38c05228aab01519aa07f0c19ee04fcf9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking libchao v0.1.0 [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | [expr, rest..] => match self.eval(expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: if you meant to collect the rest of the slice in `rest`, use the at operator [INFO] [stdout] | [INFO] [stdout] 118 | [expr, rest @ ..] => match self.eval(expr) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | for expr in rest.iter() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rest` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | self.bind_args(rest.to_vec(), arg_names.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | [head, tail..] => tail.iter().fold(head.clone(), |acc, x| acc - x.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: if you meant to collect the rest of the slice in `tail`, use the at operator [INFO] [stdout] | [INFO] [stdout] 177 | [head, tail @ ..] => tail.iter().fold(head.clone(), |acc, x| acc - x.clone()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | [head, tail..] => tail.iter().fold(head.clone(), |acc, x| acc - x.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | [head, tail..] => tail.iter().fold(head.clone(), |acc, x| acc / x.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: if you meant to collect the rest of the slice in `tail`, use the at operator [INFO] [stdout] | [INFO] [stdout] 197 | [head, tail @ ..] => tail.iter().fold(head.clone(), |acc, x| acc / x.clone()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | [head, tail..] => tail.iter().fold(head.clone(), |acc, x| acc / x.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | [head, tail..] => Bool(tail.iter().all(|ref x| *x == head)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: if you meant to collect the rest of the slice in `tail`, use the at operator [INFO] [stdout] | [INFO] [stdout] 224 | [head, tail @ ..] => Bool(tail.iter().all(|ref x| *x == head)), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | [head, tail..] => Bool(tail.iter().all(|ref x| *x == head)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | [expr, rest..] => match self.eval(expr) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | [head, tail..] => tail.iter().fold(head.clone(), |acc, x| acc - x.clone()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | [head, tail..] => tail.iter().fold(head.clone(), |acc, x| acc / x.clone()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libchao-0.1.0/src/env.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | [head, tail..] => Bool(tail.iter().all(|ref x| *x == head)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libchao` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "2dc95697555bae405f0594fdae8fa6f38c05228aab01519aa07f0c19ee04fcf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc95697555bae405f0594fdae8fa6f38c05228aab01519aa07f0c19ee04fcf9", kill_on_drop: false }` [INFO] [stdout] 2dc95697555bae405f0594fdae8fa6f38c05228aab01519aa07f0c19ee04fcf9