[INFO] cloning repository https://github.com/knight-lang/knightrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knight-lang/knightrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknight-lang%2Fknightrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknight-lang%2Fknightrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c85b43a2e49ba1be8cc8872d698676ef2d578df4 [INFO] checking knight-lang/knightrs 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%2Fknight-lang%2Fknightrs" "/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/knight-lang/knightrs [INFO] finished tweaking git repo https://github.com/knight-lang/knightrs [INFO] tweaked toml for git repo https://github.com/knight-lang/knightrs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/knight-lang/knightrs 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/knight-lang/knightrs 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] e290ec7832cbfdcedfb3fbd765e692ffa4fb21037512d846f66795d0ceb77bab [INFO] running `Command { std: "docker" "start" "-a" "e290ec7832cbfdcedfb3fbd765e692ffa4fb21037512d846f66795d0ceb77bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e290ec7832cbfdcedfb3fbd765e692ffa4fb21037512d846f66795d0ceb77bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e290ec7832cbfdcedfb3fbd765e692ffa4fb21037512d846f66795d0ceb77bab", kill_on_drop: false }` [INFO] [stdout] e290ec7832cbfdcedfb3fbd765e692ffa4fb21037512d846f66795d0ceb77bab [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] 1b3974b2c16df562fb701d3cafb2835de15ce0c4f52ff525ca206993f2c9d7e1 [INFO] running `Command { std: "docker" "start" "-a" "1b3974b2c16df562fb701d3cafb2835de15ce0c4f52ff525ca206993f2c9d7e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.97 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.97 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.97 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.97 [INFO] [stderr] Checking serde v1.0.147 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.97 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling likely_stable v0.1.2 [INFO] [stderr] Checking knightrs-bytecode v0.1.0 (/opt/rustwide/workdir/knightrs-bytecode) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/value/list.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn concat(&self, other: &Self, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn concat(&self, other: &Self, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/value/list.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn repeat(&self, amount: usize, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 340 | pub fn repeat(&self, amount: usize, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/value/list.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn concat(&self, other: &Self, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn concat(&self, other: &Self, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/value/list.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn repeat(&self, amount: usize, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 340 | pub fn repeat(&self, amount: usize, opts: &Options, gc: &'gc Gc) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/vm/vm.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn error(&mut self, err: crate::Error) -> RuntimeError { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn error(&mut self, err: crate::Error) -> RuntimeError<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/vm/vm.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn error(&mut self, err: crate::Error) -> RuntimeError { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn error(&mut self, err: crate::Error) -> RuntimeError<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/vm/vm.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | fn block_name_at(&self, mut idx: usize) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 194 | fn block_name_at(&self, mut idx: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> knightrs-bytecode/src/vm/vm.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | fn block_name_at(&self, mut idx: usize) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 194 | fn block_name_at(&self, mut idx: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking knightrs v0.9.9 (/opt/rustwide/workdir/knightrs) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> knightrs/src/error.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] 102 + fn cause(&self) -> Option<&dyn std::error::Error > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> knightrs/src/parse.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] 202 + fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> knightrs/src/error.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] 102 + fn cause(&self) -> Option<&dyn std::error::Error > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> knightrs/src/parse.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - fn cause(&self) -> Option<&(dyn std::error::Error)> { [INFO] [stdout] 202 + fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> knightrs/src/value/integer.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | i64::try_from(num).ok().and_then(|x| i64::try_from(x).ok()).map(Self).ok_or(Error::IntegerOverflow) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | impl_integer_from!(bool u8 u16 i8 i16 i32 ; u32 u64 u128 usize i64 i128 isize ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_integer_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> knightrs/src/value/integer.rs:453:42 [INFO] [stdout] | [INFO] [stdout] 453 | i64::try_from(num).ok().and_then(|x| i64::try_from(x).ok()).map(Self).ok_or(Error::IntegerOverflow) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | impl_integer_from!(bool u8 u16 i8 i16 i32 ; u32 u64 u128 usize i64 i128 isize ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> knightrs/src/value/integer.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | i64::try_from(num).ok().and_then(|x| i64::try_from(x).ok()).map(Self).ok_or(Error::IntegerOverflow) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | impl_integer_from!(bool u8 u16 i8 i16 i32 ; u32 u64 u128 usize i64 i128 isize ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_integer_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> knightrs/src/value/integer.rs:453:42 [INFO] [stdout] | [INFO] [stdout] 453 | i64::try_from(num).ok().and_then(|x| i64::try_from(x).ok()).map(Self).ok_or(Error::IntegerOverflow) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | impl_integer_from!(bool u8 u16 i8 i16 i32 ; u32 u64 u128 usize i64 i128 isize ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_integer_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `knightrs` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `knightrs` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b3974b2c16df562fb701d3cafb2835de15ce0c4f52ff525ca206993f2c9d7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3974b2c16df562fb701d3cafb2835de15ce0c4f52ff525ca206993f2c9d7e1", kill_on_drop: false }` [INFO] [stdout] 1b3974b2c16df562fb701d3cafb2835de15ce0c4f52ff525ca206993f2c9d7e1