[INFO] cloning repository https://github.com/RoxVell/rustjs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RoxVell/rustjs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoxVell%2Frustjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoxVell%2Frustjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de4c5132198c645d2eaf4330a2bea99c4a1b695e [INFO] checking RoxVell/rustjs against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoxVell%2Frustjs" "/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/RoxVell/rustjs [INFO] finished tweaking git repo https://github.com/RoxVell/rustjs [INFO] tweaked toml for git repo https://github.com/RoxVell/rustjs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RoxVell/rustjs 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/RoxVell/rustjs 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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8 [INFO] running `Command { std: "docker" "start" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8", 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" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8", 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" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking concolor v0.1.1 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking js-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/node.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Debug; [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: `nodes::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nodes::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/node.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Debug; [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: `nodes::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nodes::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/ast_interpreter.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let mut interpreter = Interpreter::default(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter/ast_interpreter.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let mut interpreter = Interpreter::default(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut interpreter = Interpreter::default(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_code` is never used [INFO] [stdout] --> src/interpreter/ast_interpreter.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn eval_code(code: &str) -> JsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpret` is never used [INFO] [stdout] --> src/interpreter/ast_interpreter.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn interpret(interpreter: &mut Interpreter, code: &str) -> JsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Printer` is never constructed [INFO] [stdout] --> src/node.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Printer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/node.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Printer { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | pub fn new(ident: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_code_to_ast` is never used [INFO] [stdout] --> src/parser.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 24 | pub fn parse_code_to_ast(code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYWORDS` is never used [INFO] [stdout] --> src/keywords.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const KEYWORDS: [&'static str; 29] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `JsValue` [INFO] [stdout] --> src/nodes/function_declaration.rs:21:71 [INFO] [stdout] | [INFO] [stdout] 21 | .define_variable(self.function_signature.name.id.clone(), js_function_value.clone().into(), false)?; [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 21 - .define_variable(self.function_signature.name.id.clone(), js_function_value.clone().into(), false)?; [INFO] [stdout] 21 + .define_variable(self.function_signature.name.id.clone(), js_function_value.clone(), false)?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 21 - .define_variable(self.function_signature.name.id.clone(), js_function_value.clone().into(), false)?; [INFO] [stdout] 21 + .define_variable(self.function_signature.name.id.clone(), >::into(js_function_value.clone()), false)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `JsFunction` [INFO] [stdout] --> src/nodes/class_declaration.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | JsFunction::empty().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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 73 - JsFunction::empty().into() [INFO] [stdout] 73 + JsFunction::empty() [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 73 - JsFunction::empty().into() [INFO] [stdout] 73 + >::into(JsFunction::empty()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut interpreter = Interpreter::default(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Printer` is never constructed [INFO] [stdout] --> src/node.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Printer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/node.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Printer { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | pub fn new(ident: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYWORDS` is never used [INFO] [stdout] --> src/keywords.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const KEYWORDS: [&'static str; 29] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `JsValue` [INFO] [stdout] --> src/nodes/function_declaration.rs:21:71 [INFO] [stdout] | [INFO] [stdout] 21 | .define_variable(self.function_signature.name.id.clone(), js_function_value.clone().into(), false)?; [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 21 - .define_variable(self.function_signature.name.id.clone(), js_function_value.clone().into(), false)?; [INFO] [stdout] 21 + .define_variable(self.function_signature.name.id.clone(), js_function_value.clone(), false)?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 21 - .define_variable(self.function_signature.name.id.clone(), js_function_value.clone().into(), false)?; [INFO] [stdout] 21 + .define_variable(self.function_signature.name.id.clone(), >::into(js_function_value.clone()), false)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/value/function.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 117 | pub struct NativeFunction { [INFO] [stdout] 118 | pub function: fn(&Interpreter, &Vec) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `JsFunction` [INFO] [stdout] --> src/nodes/class_declaration.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | JsFunction::empty().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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 73 - JsFunction::empty().into() [INFO] [stdout] 73 + JsFunction::empty() [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 73 - JsFunction::empty().into() [INFO] [stdout] 73 + >::into(JsFunction::empty()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/value/function.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 117 | pub struct NativeFunction { [INFO] [stdout] 118 | pub function: fn(&Interpreter, &Vec) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `js-engine` (bin "js-engine" test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `js-engine` (bin "js-engine") due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8", kill_on_drop: false }` [INFO] [stdout] 18ad2879d608ed8d92e63f37e1fae2e7555767b05d3fce6f3a4a6238d8cf9ee8