[INFO] cloning repository https://github.com/Koyin2005/Kae [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Koyin2005/Kae" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKoyin2005%2FKae", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKoyin2005%2FKae'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f59bdcb17b08e20bfec4a44b68dadfb0cd8d7463 [INFO] checking Koyin2005/Kae against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKoyin2005%2FKae" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Koyin2005/Kae on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Koyin2005/Kae [INFO] finished tweaking git repo https://github.com/Koyin2005/Kae [INFO] tweaked toml for git repo https://github.com/Koyin2005/Kae written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Koyin2005/Kae 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bd2d8550d2ee7607ed5842700639129a847ef3b992cf54d05ffc91330f69503 [INFO] running `Command { std: "docker" "start" "-a" "0bd2d8550d2ee7607ed5842700639129a847ef3b992cf54d05ffc91330f69503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd2d8550d2ee7607ed5842700639129a847ef3b992cf54d05ffc91330f69503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd2d8550d2ee7607ed5842700639129a847ef3b992cf54d05ffc91330f69503", kill_on_drop: false }` [INFO] [stdout] 0bd2d8550d2ee7607ed5842700639129a847ef3b992cf54d05ffc91330f69503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c32b3ba3e9b76cb056fea096cd4374252d9c20455fc73cec144e6a25f5bdf6d [INFO] running `Command { std: "docker" "start" "-a" "4c32b3ba3e9b76cb056fea096cd4374252d9c20455fc73cec144e6a25f5bdf6d", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking pl4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/backend/values.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/backend/natives.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::stdin, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/backend/values.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/backend/natives.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::stdin, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/backend/compiling/compiler.rs:406:22 [INFO] [stdout] | [INFO] [stdout] 406 | for (i,element) in elements.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/backend/compiling/compiler.rs:420:39 [INFO] [stdout] | [INFO] [stdout] 420 | PatternNodeKind::Struct { ty, fields } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/backend/compiling/compiler.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 421 | for (field_name,field_pattern) in fields{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_pattern` [INFO] [stdout] --> src/backend/compiling/compiler.rs:421:33 [INFO] [stdout] | [INFO] [stdout] 421 | for (field_name,field_pattern) in fields{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/backend/compiling/compiler.rs:406:22 [INFO] [stdout] | [INFO] [stdout] 406 | for (i,element) in elements.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/backend/compiling/compiler.rs:420:39 [INFO] [stdout] | [INFO] [stdout] 420 | PatternNodeKind::Struct { ty, fields } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/backend/compiling/compiler.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 421 | for (field_name,field_pattern) in fields{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_pattern` [INFO] [stdout] --> src/backend/compiling/compiler.rs:421:33 [INFO] [stdout] | [INFO] [stdout] 421 | for (field_name,field_pattern) in fields{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_size` is never used [INFO] [stdout] --> src/backend/vm.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl VM{ [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn pop_size(&mut self)->usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anonymous_var_counter` is never read [INFO] [stdout] --> src/backend/compiling/compiler.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Compiler{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | anonymous_var_counter:usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit_pops` and `load_size` are never used [INFO] [stdout] --> src/backend/compiling/compiler.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Compiler{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn emit_pops(&mut self,n:usize,line:u32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn load_size(&mut self,size:usize,line:u32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpvalueResolver` is never constructed [INFO] [stdout] --> src/backend/compiling/upvalue_resolver.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct UpvalueResolver{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `by_ref` is never read [INFO] [stdout] --> src/frontend/typechecking/names.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Variable{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | ty : Type, [INFO] [stdout] 14 | by_ref : bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rc` to `Rc` [INFO] [stdout] --> src/backend/vm.rs:121:66 [INFO] [stdout] | [INFO] [stdout] 121 | Value::String(Object::new_string(&mut self.heap, string.into())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_size` is never used [INFO] [stdout] --> src/backend/vm.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl VM{ [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn pop_size(&mut self)->usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anonymous_var_counter` is never read [INFO] [stdout] --> src/backend/compiling/compiler.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Compiler{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | anonymous_var_counter:usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit_pops` and `load_size` are never used [INFO] [stdout] --> src/backend/compiling/compiler.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Compiler{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn emit_pops(&mut self,n:usize,line:u32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn load_size(&mut self,size:usize,line:u32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpvalueResolver` is never constructed [INFO] [stdout] --> src/backend/compiling/upvalue_resolver.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct UpvalueResolver{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `by_ref` is never read [INFO] [stdout] --> src/frontend/typechecking/names.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Variable{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | ty : Type, [INFO] [stdout] 14 | by_ref : bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Rc` to `Rc` [INFO] [stdout] --> src/backend/vm.rs:121:66 [INFO] [stdout] | [INFO] [stdout] 121 | Value::String(Object::new_string(&mut self.heap, string.into())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pl4` (lib) due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pl4` (lib test) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c32b3ba3e9b76cb056fea096cd4374252d9c20455fc73cec144e6a25f5bdf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c32b3ba3e9b76cb056fea096cd4374252d9c20455fc73cec144e6a25f5bdf6d", kill_on_drop: false }` [INFO] [stdout] 4c32b3ba3e9b76cb056fea096cd4374252d9c20455fc73cec144e6a25f5bdf6d