[INFO] fetching crate scoop-find 0.2.0... [INFO] building scoop-find-0.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate scoop-find 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate scoop-find 0.2.0 [INFO] finished tweaking crates.io crate scoop-find 0.2.0 [INFO] tweaked toml for crates.io crate scoop-find 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scoop-find 0.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scoop-find 0.2.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0a30a50bc1d2190e783d119b24f33fd8c1d69de493c43aecee16ccf8f056d43 [INFO] running `Command { std: "docker" "start" "-a" "d0a30a50bc1d2190e783d119b24f33fd8c1d69de493c43aecee16ccf8f056d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0a30a50bc1d2190e783d119b24f33fd8c1d69de493c43aecee16ccf8f056d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a30a50bc1d2190e783d119b24f33fd8c1d69de493c43aecee16ccf8f056d43", kill_on_drop: false }` [INFO] [stdout] d0a30a50bc1d2190e783d119b24f33fd8c1d69de493c43aecee16ccf8f056d43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e8c11c55f1e8e16da2a604011661625f0a43ba41f33b2fc062b22b80e8bcb84 [INFO] running `Command { std: "docker" "start" "-a" "1e8c11c55f1e8e16da2a604011661625f0a43ba41f33b2fc062b22b80e8bcb84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling scoop-find v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if let Some(scoop_home) = env::var_os("SCOOP") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | && let Some(scoop_home) = [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | env::split_paths(&scoop_home) [INFO] [stdout] 19 | | .find_map(|dir| if dir.is_dir() { Some(dir) } else { None }) { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | if let Ok(entry) = entry && entry.path().is_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(stem) = path.file_stem() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | && let Some(stem) = stem.to_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | && let Some(name) = path.file_name() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(rate) = root.get("rate") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | && let Some(remaining) = rate.get("remaining") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | && let Value::Number(rem) = remaining [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/utils.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | && let Some(rem) = rem.as_u64() && rem != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `scoped_threads` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(scoped_threads)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scoop-find` (bin "scoop-find") due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e8c11c55f1e8e16da2a604011661625f0a43ba41f33b2fc062b22b80e8bcb84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8c11c55f1e8e16da2a604011661625f0a43ba41f33b2fc062b22b80e8bcb84", kill_on_drop: false }` [INFO] [stdout] 1e8c11c55f1e8e16da2a604011661625f0a43ba41f33b2fc062b22b80e8bcb84