[INFO] cloning repository https://github.com/antcap96/my-monkey-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antcap96/my-monkey-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantcap96%2Fmy-monkey-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantcap96%2Fmy-monkey-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d25b2adb8a68e50d1ef74604cf24470ab49b1db5 [INFO] checking antcap96/my-monkey-lang against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantcap96%2Fmy-monkey-lang" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/antcap96/my-monkey-lang [INFO] finished tweaking git repo https://github.com/antcap96/my-monkey-lang [INFO] tweaked toml for git repo https://github.com/antcap96/my-monkey-lang written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antcap96/my-monkey-lang on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/antcap96/my-monkey-lang 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7 [INFO] running `Command { std: "docker" "start" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking monkey-lang-core v0.1.0 (/opt/rustwide/workdir/monkey-lang-core) [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking monkey-lang-interpreter v0.1.0 (/opt/rustwide/workdir/monkey-lang-interpreter) [INFO] [stderr] Checking monkey-lang-compiler v0.1.0 (/opt/rustwide/workdir/monkey-lang-compiler) [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> monkey-lang-compiler/src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error; [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: `std::error` [INFO] [stdout] --> monkey-lang-compiler/src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error; [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 variable: `expression` [INFO] [stdout] --> monkey-lang-compiler/src/compiler.rs:314:43 [INFO] [stdout] | [INFO] [stdout] 314 | Expression::MatchExpression { expression, cases } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> monkey-lang-compiler/src/compiler.rs:314:55 [INFO] [stdout] | [INFO] [stdout] 314 | Expression::MatchExpression { expression, cases } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `cases: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> monkey-lang-compiler/src/compiler.rs:314:43 [INFO] [stdout] | [INFO] [stdout] 314 | Expression::MatchExpression { expression, cases } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> monkey-lang-compiler/src/compiler.rs:314:55 [INFO] [stdout] | [INFO] [stdout] 314 | Expression::MatchExpression { expression, cases } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `cases: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | / format!( [INFO] [stdout] 6 | | "unexpected number of arguments. Expected {} got {}", [INFO] [stdout] 7 | | expected, got [INFO] [stdout] 8 | | ) [INFO] [stdout] 9 | | .into(), [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | format!("unexpected argument type. Expected Array got {:?}", obj).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | format!("unexpected argument type. Expected Array got {:?}", obj).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / format!( [INFO] [stdout] 40 | | "unexpected argument type. Expected String, Array or Hash got {:?}", [INFO] [stdout] 41 | | obj [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | .into(), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | format!("unexpected argument type. Expected Array got {:?}", obj).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> monkey-lang-compiler/src/code.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter_at(&self, offset: usize) -> InstructionsIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter_at(&self, offset: usize) -> InstructionsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> monkey-lang-compiler/src/code.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn iter(&self) -> InstructionsIter { [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] 155 | pub fn iter(&self) -> InstructionsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.4.6 [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | / format!( [INFO] [stdout] 6 | | "unexpected number of arguments. Expected {} got {}", [INFO] [stdout] 7 | | expected, got [INFO] [stdout] 8 | | ) [INFO] [stdout] 9 | | .into(), [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | format!("unexpected argument type. Expected Array got {:?}", obj).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | format!("unexpected argument type. Expected Array got {:?}", obj).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / format!( [INFO] [stdout] 40 | | "unexpected argument type. Expected String, Array or Hash got {:?}", [INFO] [stdout] 41 | | obj [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | .into(), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> monkey-lang-compiler/src/builtins.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | format!("unexpected argument type. Expected Array got {:?}", obj).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-lang-compiler` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> monkey-lang-compiler/src/code.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter_at(&self, offset: usize) -> InstructionsIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter_at(&self, offset: usize) -> InstructionsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> monkey-lang-compiler/src/code.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn iter(&self) -> InstructionsIter { [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] 155 | pub fn iter(&self) -> InstructionsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-lang-compiler` (lib test) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: unused dependency `monkey-lang-interpreter` [INFO] [stderr] --> monkey-lang-compiler/Cargo.toml:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | monkey-lang-interpreter = { path = "../monkey-lang-interpreter" } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `monkey-lang-interpreter` [INFO] [stderr] warning: `monkey-lang-compiler` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7", kill_on_drop: false }` [INFO] [stdout] 61264a6133444b219b6e30381d662d861fef7f033c900e0d175c2afcdf198df7