[INFO] cloning repository https://github.com/glyh/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glyh/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglyh%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglyh%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 021251ff622c66fb337e906710f3a6f81e33fce4 [INFO] testing glyh/rush against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglyh%2Frush" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glyh/rush on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glyh/rush [INFO] finished tweaking git repo https://github.com/glyh/rush [INFO] tweaked toml for git repo https://github.com/glyh/rush written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/glyh/rush 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.14.3 [INFO] [stderr] Downloaded cranelift v0.114.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.114.0 [INFO] [stderr] Downloaded cranelift-control v0.114.0 [INFO] [stderr] Downloaded cranelift-native v0.114.0 [INFO] [stderr] Downloaded ascii-canvas v4.0.0 [INFO] [stderr] Downloaded cranelift-module v0.114.0 [INFO] [stderr] Downloaded cranelift-bforest v0.114.0 [INFO] [stderr] Downloaded logos-codegen v0.14.3 [INFO] [stderr] Downloaded cranelift-frontend v0.114.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.114.0 [INFO] [stderr] Downloaded lalrpop v0.22.0 [INFO] [stderr] Downloaded cranelift-isle v0.114.0 [INFO] [stderr] Downloaded cranelift-entity v0.114.0 [INFO] [stderr] Downloaded lalrpop-util v0.22.0 [INFO] [stderr] Downloaded cranelift-bitset v0.114.0 [INFO] [stderr] Downloaded cranelift-codegen v0.114.0 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v27.0.0 [INFO] [stderr] Downloaded logos v0.14.3 [INFO] [stderr] Downloaded cranelift-jit v0.114.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd110fa47315acd242959629a8207e22b7fcd32ac2905de65dbad7060f53a85d [INFO] running `Command { std: "docker" "start" "-a" "dd110fa47315acd242959629a8207e22b7fcd32ac2905de65dbad7060f53a85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd110fa47315acd242959629a8207e22b7fcd32ac2905de65dbad7060f53a85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd110fa47315acd242959629a8207e22b7fcd32ac2905de65dbad7060f53a85d", kill_on_drop: false }` [INFO] [stdout] dd110fa47315acd242959629a8207e22b7fcd32ac2905de65dbad7060f53a85d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a6e102c2055994c87a6fc93d19f96d0713ce0e3b795c302bed096af31f55ccd [INFO] running `Command { std: "docker" "start" "-a" "2a6e102c2055994c87a6fc93d19f96d0713ce0e3b795c302bed096af31f55ccd", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cranelift-isle v0.114.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.114.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cranelift-bitset v0.114.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-codegen-meta v0.114.0 [INFO] [stderr] Compiling cranelift-entity v0.114.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling cranelift-bforest v0.114.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cranelift-control v0.114.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling term v1.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling logos-codegen v0.14.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling regalloc2 v0.10.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling petgraph v0.6.5 [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] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v27.0.0 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cranelift-codegen v0.114.0 [INFO] [stderr] Compiling lalrpop-util v0.22.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.21.0 [INFO] [stderr] Compiling lalrpop v0.22.0 [INFO] [stderr] Compiling logos-derive v0.14.3 [INFO] [stderr] Compiling logos v0.14.3 [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cranelift-module v0.114.0 [INFO] [stderr] Compiling cranelift-frontend v0.114.0 [INFO] [stderr] Compiling cranelift-native v0.114.0 [INFO] [stderr] Compiling cranelift-jit v0.114.0 [INFO] [stderr] Compiling cranelift v0.114.0 [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/backend/jit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> /opt/rustwide/target/debug/build/rush-b3485ffcb28917f0/out/frontend/rush.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/backend/jit.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn compile_global(&mut self, decl: &VarDecl) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_code` is never used [INFO] [stdout] --> src/backend/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe fn run_code( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `builder_context`, `ctx`, `data_description`, `module`, and `func_sig_env` are never read [INFO] [stdout] --> src/backend/jit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct JIT { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | builder_context: FunctionBuilderContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ctx: codegen::Context, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | module: JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | func_sig_env: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_variable` is never used [INFO] [stdout] --> src/backend/jit.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn declare_variable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_type` is never used [INFO] [stdout] --> src/backend/jit.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn translate_type(module: &JITModule, ty: Rc>) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_variable_declarations` is never used [INFO] [stdout] --> src/backend/jit.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn collect_variable_declarations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_variables_in_stmt` is never used [INFO] [stdout] --> src/backend/jit.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn declare_variables_in_stmt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compile_global`, `compile_function`, and `translate_function` are never used [INFO] [stdout] --> src/backend/jit.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl JIT { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 144 | pub fn compile_global(&mut self, decl: &VarDecl) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn compile_function(&mut self, fun: &FunctionDef) -> Result<*const u8, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn translate_function(&mut self, fun: &FunctionDef) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTranslator` is never constructed [INFO] [stdout] --> src/backend/jit.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | struct FunctionTranslator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StmtState` is never constructed [INFO] [stdout] --> src/backend/jit.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | struct StmtState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/backend/jit.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 221 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 222 | fn translate_atom(&mut self, atom: &Atom) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn translate_expr(&mut self, expr: &Expr) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn translate_call(&mut self, name: &String, args: &Vec>) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn translate_stmts(&mut self, stmts: &Vec) -> StmtState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | fn translate_stmt(&mut self, stmt: &Stmt) -> StmtState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | fn translate_if( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn translate_while(&mut self, cond: &Expr, body: &Vec) -> StmtState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_type` is never used [INFO] [stdout] --> src/frontend/ast.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FunctionDef { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | pub fn get_type(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frontend/lexer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'input> Lexer<'input> { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(input: &'input str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TyEnv` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type TyEnv = HashMap>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free_variables` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn free_variables(ty: Rc>) -> VarSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Constraint` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type Constraint = (Rc>, Rc>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_link` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn maybe_link(var: Rc>, target: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unify_one` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn unify_one(c: Constraint, out: &mut VecDeque) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_atom` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn infer_atom(atom: &ast::Atom) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_expr` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn infer_expr( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_var_decl` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn infer_var_decl(env: &mut TyEnv, v_decl: &ast::VarDecl, constraints: &mut VecDeque) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_block` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn infer_block( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_stmt` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn infer_stmt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_function_top` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn infer_function_top( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_type_func` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn infer_type_func(func_def: &ast::FunctionDef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_type` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn infer_type(prog: &ast::Program) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Resolved` is never constructed [INFO] [stdout] --> src/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum TVar { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 13 | Resolved(Rc>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TVar` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ForAll` is never constructed [INFO] [stdout] --> src/types.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 19 | ForAll(VarSet, Rc>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap_resolved` is never used [INFO] [stdout] --> src/types.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn unwrap_resolved(ty: Rc>) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `con` is never used [INFO] [stdout] --> src/types.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Type { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn con(name: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "2a6e102c2055994c87a6fc93d19f96d0713ce0e3b795c302bed096af31f55ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6e102c2055994c87a6fc93d19f96d0713ce0e3b795c302bed096af31f55ccd", kill_on_drop: false }` [INFO] [stdout] 2a6e102c2055994c87a6fc93d19f96d0713ce0e3b795c302bed096af31f55ccd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e54c73ee072c4c4fc5f4d2c870001ff4f895915f29b54bcd1b8a4269acf8bb [INFO] running `Command { std: "docker" "start" "-a" "42e54c73ee072c4c4fc5f4d2c870001ff4f895915f29b54bcd1b8a4269acf8bb", kill_on_drop: false }` [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/backend/jit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> /opt/rustwide/target/debug/build/rush-b3485ffcb28917f0/out/frontend/rush.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/backend/jit.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn compile_global(&mut self, decl: &VarDecl) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_description` is never read [INFO] [stdout] --> src/backend/jit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct JIT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | data_description: DataDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_global` is never used [INFO] [stdout] --> src/backend/jit.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl JIT { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 144 | pub fn compile_global(&mut self, decl: &VarDecl) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free_variables` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn free_variables(ty: Rc>) -> VarSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_type` is never used [INFO] [stdout] --> src/typecheck/inferencer.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn infer_type(prog: &ast::Program) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ForAll` is never constructed [INFO] [stdout] --> src/types.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 19 | ForAll(VarSet, Rc>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "42e54c73ee072c4c4fc5f4d2c870001ff4f895915f29b54bcd1b8a4269acf8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e54c73ee072c4c4fc5f4d2c870001ff4f895915f29b54bcd1b8a4269acf8bb", kill_on_drop: false }` [INFO] [stdout] 42e54c73ee072c4c4fc5f4d2c870001ff4f895915f29b54bcd1b8a4269acf8bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 711c1ea234493c8ef43853526f745a490ff4ae3c1bd154cd2d57de099f7baa5d [INFO] running `Command { std: "docker" "start" "-a" "711c1ea234493c8ef43853526f745a490ff4ae3c1bd154cd2d57de099f7baa5d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt::write` [INFO] [stderr] --> src/backend/jit.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::write; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> /opt/rustwide/target/debug/build/rush-b3485ffcb28917f0/out/frontend/rush.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decl` [INFO] [stderr] --> src/backend/jit.rs:144:38 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn compile_global(&mut self, decl: &VarDecl) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `data_description` is never read [INFO] [stderr] --> src/backend/jit.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct JIT { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | data_description: DataDescription, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `compile_global` is never used [INFO] [stderr] --> src/backend/jit.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 143 | impl JIT { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] 144 | pub fn compile_global(&mut self, decl: &VarDecl) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `free_variables` is never used [INFO] [stderr] --> src/typecheck/inferencer.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn free_variables(ty: Rc>) -> VarSet { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `infer_type` is never used [INFO] [stderr] --> src/typecheck/inferencer.rs:224:8 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn infer_type(prog: &ast::Program) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `ForAll` is never constructed [INFO] [stderr] --> src/types.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub enum Type { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] 19 | ForAll(VarSet, Rc>), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rush` (bin "rush" test) generated 8 warnings (run `cargo fix --bin "rush" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rush-11ab55e805cedc37) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test frontend::rush_parse ... ok [INFO] [stdout] test backend::test_fib ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "711c1ea234493c8ef43853526f745a490ff4ae3c1bd154cd2d57de099f7baa5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711c1ea234493c8ef43853526f745a490ff4ae3c1bd154cd2d57de099f7baa5d", kill_on_drop: false }` [INFO] [stdout] 711c1ea234493c8ef43853526f745a490ff4ae3c1bd154cd2d57de099f7baa5d