[INFO] cloning repository https://github.com/pozm/proj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pozm/proj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpozm%2Fproj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpozm%2Fproj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff134152cb564db811a46457c7ea88075825a9c1 [INFO] testing pozm/proj against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpozm%2Fproj" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pozm/proj [INFO] finished tweaking git repo https://github.com/pozm/proj [INFO] tweaked toml for git repo https://github.com/pozm/proj written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pozm/proj on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pozm/proj 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: feature [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 zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded path-dedot v3.0.17 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded clap_derive v3.1.18 [INFO] [stderr] Downloaded path-absolutize v3.0.13 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded erased-serde v0.3.20 [INFO] [stderr] Downloaded zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Downloaded native-dialog v0.6.3 [INFO] [stderr] Downloaded tracing-core v0.1.27 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded zip v0.6.2 [INFO] [stderr] Downloaded clap v3.1.18 [INFO] [stderr] Downloaded mlua v0.8.0-beta.5 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Downloaded lua-src v544.0.1 [INFO] [stderr] Downloaded luajit-src v210.4.0+resty124ff8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 961eabb96049e4960105441a0d322baac9de1860a98dea2ec16af8621f1da3ef [INFO] running `Command { std: "docker" "start" "-a" "961eabb96049e4960105441a0d322baac9de1860a98dea2ec16af8621f1da3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "961eabb96049e4960105441a0d322baac9de1860a98dea2ec16af8621f1da3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961eabb96049e4960105441a0d322baac9de1860a98dea2ec16af8621f1da3ef", kill_on_drop: false }` [INFO] [stdout] 961eabb96049e4960105441a0d322baac9de1860a98dea2ec16af8621f1da3ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ce47a8011b768cc18894c16b078905a049b0556c64ee9289155a01ad1bd6420 [INFO] running `Command { std: "docker" "start" "-a" "2ce47a8011b768cc18894c16b078905a049b0556c64ee9289155a01ad1bd6420", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: feature [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling luajit-src v210.4.0+resty124ff8d [INFO] [stderr] Compiling lua-src v544.0.1 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling path-dedot v3.0.17 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling path-absolutize v3.0.13 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling mlua v0.8.0-beta.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling native-dialog v0.6.3 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.2 [INFO] [stderr] Compiling proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lua/structures/permissions.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let Ok(allowed) = native_dialog::MessageDialog::new() [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | .set_title("Permission") [INFO] [stdout] 62 | | .set_text(&format!("The script wants to access\n{}.\ndo you want to grant access?",p.to_string())) [INFO] [stdout] 63 | | .show_confirm() && allowed { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ZipWriter` and `write::FileOptions` [INFO] [stdout] --> src/lua/structures/fs.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use zip::{ZipArchive, write::FileOptions, ZipWriter}; [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 import: `ExternalError` [INFO] [stdout] --> src/lua/structures/permissions.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use mlua::{UserData, LuaSerdeExt,ExternalError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LuaFs` [INFO] [stdout] --> src/lua/utils.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{LuaFile, LuaFs}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `luau` [INFO] [stdout] --> src/lua/utils.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "luau")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `luau` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/structures/fs.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua(lua_value: LuaValue<'lua>, lua: &'lua Lua) -> LuaResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | methods.add_method("createFile", |_l, t, p: String| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | methods.add_method("createDir", |_l, t, p: String| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | methods.add_method("openDir", |_l, t, p: String| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | methods.add_method("openFile", |_l, t, p: String| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | methods.add_method("exists", |_l, t, p: String| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | methods.add_method("copy", |_l, t, (fp, tp): (String, String)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lua/structures/fs.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | methods.add_method("move", |_l, t, (fp, tp): (String, String)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resp_content` is never read [INFO] [stdout] --> src/lua/structures/http.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut resp_content = ContentTypesResponse::None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lua/utils.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if let (key, value) = pog.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/lua/utils.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut output = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scripts_conf_path` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let scripts_conf_path = scripts_path.join("config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scripts_conf_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proj` (bin "proj") due to 1 previous error; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ce47a8011b768cc18894c16b078905a049b0556c64ee9289155a01ad1bd6420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ce47a8011b768cc18894c16b078905a049b0556c64ee9289155a01ad1bd6420", kill_on_drop: false }` [INFO] [stdout] 2ce47a8011b768cc18894c16b078905a049b0556c64ee9289155a01ad1bd6420