[INFO] cloning repository https://github.com/JacoMalan1/wngc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacoMalan1/wngc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacoMalan1%2Fwngc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacoMalan1%2Fwngc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 029207f10775c5ec52ff96f9aa19ea2cc44a3955 [INFO] checking JacoMalan1/wngc against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacoMalan1%2Fwngc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JacoMalan1/wngc [INFO] finished tweaking git repo https://github.com/JacoMalan1/wngc [INFO] tweaked toml for git repo https://github.com/JacoMalan1/wngc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JacoMalan1/wngc on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JacoMalan1/wngc 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c2c6de4ccf9d98873ec29a1f4634fe0815bbde00265b03d98eea5e8a364aefb [INFO] running `Command { std: "docker" "start" "-a" "2c2c6de4ccf9d98873ec29a1f4634fe0815bbde00265b03d98eea5e8a364aefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c2c6de4ccf9d98873ec29a1f4634fe0815bbde00265b03d98eea5e8a364aefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2c6de4ccf9d98873ec29a1f4634fe0815bbde00265b03d98eea5e8a364aefb", kill_on_drop: false }` [INFO] [stdout] 2c2c6de4ccf9d98873ec29a1f4634fe0815bbde00265b03d98eea5e8a364aefb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27a49fa262852a922348a967b6eff4e5bfb9b0aff93767daf9168f9ec87874df [INFO] running `Command { std: "docker" "start" "-a" "27a49fa262852a922348a967b6eff4e5bfb9b0aff93767daf9168f9ec87874df", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling term v1.0.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling inkwell v0.5.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling llvm-sys v180.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking lalrpop-util v0.22.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling inkwell_internals v0.10.0 [INFO] [stderr] Compiling lalrpop v0.22.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Compiling wngc v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | std::path::PathBuf::from_str(&format!("{name}.ll")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | &std::path::PathBuf::from_str(&format!("{name}.o")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ast/expr.rs:737:30 [INFO] [stdout] | [INFO] [stdout] 737 | unsafe { std::mem::transmute::(i64::from(*n)) }, [INFO] [stdout] | -------------------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/imc.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn module(&'ctx self) -> MutexGuard<'_, Option>> { [INFO] [stdout] | ---- ^^ ---- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'ctx` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn module(&'ctx self) -> MutexGuard<'_, Option>> { [INFO] [stdout] 28 + pub fn module(&'ctx self) -> MutexGuard<'ctx, Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/imc.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn vtable(&'ctx self) -> &VariableTable<'ctx> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ctx` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn vtable(&'ctx self) -> &'ctx VariableTable<'ctx> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | std::path::PathBuf::from_str(&format!("{name}.ll")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | &std::path::PathBuf::from_str(&format!("{name}.o")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ast/expr.rs:737:30 [INFO] [stdout] | [INFO] [stdout] 737 | unsafe { std::mem::transmute::(i64::from(*n)) }, [INFO] [stdout] | -------------------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/imc.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn module(&'ctx self) -> MutexGuard<'_, Option>> { [INFO] [stdout] | ---- ^^ ---- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'ctx` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn module(&'ctx self) -> MutexGuard<'_, Option>> { [INFO] [stdout] 28 + pub fn module(&'ctx self) -> MutexGuard<'ctx, Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/imc.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn vtable(&'ctx self) -> &VariableTable<'ctx> { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'ctx` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn vtable(&'ctx self) -> &'ctx VariableTable<'ctx> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wngc` (bin "wngc") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wngc` (bin "wngc" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "27a49fa262852a922348a967b6eff4e5bfb9b0aff93767daf9168f9ec87874df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a49fa262852a922348a967b6eff4e5bfb9b0aff93767daf9168f9ec87874df", kill_on_drop: false }` [INFO] [stdout] 27a49fa262852a922348a967b6eff4e5bfb9b0aff93767daf9168f9ec87874df