[INFO] fetching crate rez-next-build 0.1.0... [INFO] building rez-next-build-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rez-next-build 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rez-next-build 0.1.0 [INFO] finished tweaking crates.io crate rez-next-build 0.1.0 [INFO] tweaked toml for crates.io crate rez-next-build 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rez-next-build 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rez-next-build 0.1.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rez-next-common v0.1.0 [INFO] [stderr] Downloaded rustpython-parser-core v0.4.0 [INFO] [stderr] Downloaded rez-next-version v0.1.0 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded malachite-bigint v0.2.3 [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded rez-next-context v0.1.0 [INFO] [stderr] Downloaded rez-next-repository v0.1.0 [INFO] [stderr] Downloaded rez-next-solver v0.1.0 [INFO] [stderr] Downloaded rez-next-package v0.1.0 [INFO] [stderr] Downloaded malachite-q v0.4.22 [INFO] [stderr] Downloaded unicode_names2_generator v1.3.0 [INFO] [stderr] Downloaded lalrpop-util v0.20.2 [INFO] [stderr] Downloaded rustpython-parser-vendored v0.4.0 [INFO] [stderr] Downloaded scc v2.3.4 [INFO] [stderr] Downloaded rustpython-parser v0.4.0 [INFO] [stderr] Downloaded malachite v0.4.22 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded rustpython-ast v0.4.0 [INFO] [stderr] Downloaded unicode_names2 v1.3.0 [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded malachite-base v0.4.22 [INFO] [stderr] Downloaded malachite-nz v0.4.22 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c25942dbabbbfc96633f4f455f560311d280838fecd691d689022765d94b4f7 [INFO] running `Command { std: "docker" "start" "-a" "3c25942dbabbbfc96633f4f455f560311d280838fecd691d689022765d94b4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c25942dbabbbfc96633f4f455f560311d280838fecd691d689022765d94b4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c25942dbabbbfc96633f4f455f560311d280838fecd691d689022765d94b4f7", kill_on_drop: false }` [INFO] [stdout] 3c25942dbabbbfc96633f4f455f560311d280838fecd691d689022765d94b4f7 [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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad5a6a22719f9ea13289deaf5dfa95208145fe9259183eab5b218e19b9a7510f [INFO] running `Command { std: "docker" "start" "-a" "ad5a6a22719f9ea13289deaf5dfa95208145fe9259183eab5b218e19b9a7510f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling malachite-nz v0.4.22 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rustpython-parser-core v0.4.0 [INFO] [stderr] Compiling unic-emoji-char v0.9.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling lru v0.14.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling malachite-base v0.4.22 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rez-next-common v0.1.0 [INFO] [stderr] Compiling rez-next-version v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling malachite-q v0.4.22 [INFO] [stderr] Compiling malachite v0.4.22 [INFO] [stderr] Compiling malachite-bigint v0.2.3 [INFO] [stderr] Compiling rustpython-ast v0.4.0 [INFO] [stderr] Compiling rez-next-package v0.1.0 [INFO] [stderr] Compiling rez-next-repository v0.1.0 [INFO] [stderr] Compiling rez-next-solver v0.1.0 [INFO] [stderr] Compiling rez-next-context v0.1.0 [INFO] [stderr] Compiling rez-next-build v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BuildSystem` [INFO] [stdout] --> src/builder.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BuildArtifacts, BuildEnvironment, BuildProcess, BuildSystem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/environment.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rez_next_context::ShellExecutor` [INFO] [stdout] --> src/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rez_next_context::ShellExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/process.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/systems.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build_id` [INFO] [stdout] --> src/process.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | build_id: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_build_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/process.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | request: &BuildRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/process.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | config: &BuildConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/process.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | config: &BuildConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/process.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | config: &BuildConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/process.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | config: &BuildConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/systems.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | request: &BuildRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/process.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | config: &BuildConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/process.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | config: &BuildConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/systems.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | request: &BuildRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script_name` [INFO] [stdout] --> src/systems.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | script_name => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_script_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/process.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | request: &BuildRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/artifacts.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | / if let Ok(metadata) = std::fs::metadata(path) { [INFO] [stdout] 162 | | let permissions = metadata.permissions(); [INFO] [stdout] 163 | | return permissions.mode() & 0o111 != 0; [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____________^ expected `bool`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0317`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rez-next-build` (lib) due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ad5a6a22719f9ea13289deaf5dfa95208145fe9259183eab5b218e19b9a7510f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5a6a22719f9ea13289deaf5dfa95208145fe9259183eab5b218e19b9a7510f", kill_on_drop: false }` [INFO] [stdout] ad5a6a22719f9ea13289deaf5dfa95208145fe9259183eab5b218e19b9a7510f