[INFO] cloning repository https://github.com/BraedonWooding/CVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BraedonWooding/CVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraedonWooding%2FCVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraedonWooding%2FCVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e56aca584335420d8f22a7eddd54c23fa94316d [INFO] checking BraedonWooding/CVM against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraedonWooding%2FCVM" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BraedonWooding/CVM on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BraedonWooding/CVM [INFO] finished tweaking git repo https://github.com/BraedonWooding/CVM [INFO] tweaked toml for git repo https://github.com/BraedonWooding/CVM written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/BraedonWooding/CVM already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68f0ef52d1535d89c8207d993fb221b394519e92b2ff3093ea0fdf7ac9d66876 [INFO] running `Command { std: "docker" "start" "-a" "68f0ef52d1535d89c8207d993fb221b394519e92b2ff3093ea0fdf7ac9d66876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68f0ef52d1535d89c8207d993fb221b394519e92b2ff3093ea0fdf7ac9d66876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f0ef52d1535d89c8207d993fb221b394519e92b2ff3093ea0fdf7ac9d66876", kill_on_drop: false }` [INFO] [stdout] 68f0ef52d1535d89c8207d993fb221b394519e92b2ff3093ea0fdf7ac9d66876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1bb18410ec37d3277a58931b526a69711ed9608e33b4696641aa1586efe89a2 [INFO] running `Command { std: "docker" "start" "-a" "a1bb18410ec37d3277a58931b526a69711ed9608e33b4696641aa1586efe89a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking impls v1.0.3 [INFO] [stderr] Checking atomic-counter v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking termion v1.5.4 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking tui v0.7.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking simple_logger v1.3.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Checking cvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/c_transpiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/c_transpiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/compiler/type_check.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/compiler/type_check.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/compiler/type_infer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/compiler/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/logger.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::ast::*` [INFO] [stdout] --> src/logger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parser::*` [INFO] [stdout] --> src/logger.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/compiler/type_check.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/compiler/type_check.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/compiler/type_infer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/logger.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::ast::*` [INFO] [stdout] --> src/logger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parser::*` [INFO] [stdout] --> src/logger.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/compiler/type_check.rs:354:48 [INFO] [stdout] | [INFO] [stdout] 354 | ExprKind::Init(ref mut ty, ref mut init) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/compiler/type_check.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | ref mut cond, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_true` [INFO] [stdout] --> src/compiler/type_check.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | ref mut if_true, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `if_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_false` [INFO] [stdout] --> src/compiler/type_check.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | ref mut if_false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `if_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler/type_infer.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | ExprKind::Member(ref mut expr, id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler/type_infer.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | ExprKind::GenFuncCall(id, gen_args, args) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_args` [INFO] [stdout] --> src/compiler/type_infer.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | ExprKind::GenFuncCall(id, gen_args, args) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/type_infer.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | ref mut args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/type_infer.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | ref mut block, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/compiler/type_check.rs:354:48 [INFO] [stdout] | [INFO] [stdout] 354 | ExprKind::Init(ref mut ty, ref mut init) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/compiler/type_check.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | ref mut cond, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_true` [INFO] [stdout] --> src/compiler/type_check.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | ref mut if_true, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `if_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_false` [INFO] [stdout] --> src/compiler/type_check.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | ref mut if_false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `if_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler/type_infer.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | ExprKind::Member(ref mut expr, id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler/type_infer.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | ExprKind::GenFuncCall(id, gen_args, args) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_args` [INFO] [stdout] --> src/compiler/type_infer.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | ExprKind::GenFuncCall(id, gen_args, args) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/type_infer.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | ref mut args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler/type_infer.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | ref mut block, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler/type_infer.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | std::mem::replace(&mut *cpy.borrow_mut(), decl.decl_type.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/compiler/type_infer.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | std::mem::replace(&mut *cpy.borrow_mut(), decl.decl_type.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cvm_lib::compiler::ast::*` [INFO] [stdout] --> tests/unification_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cvm_lib::compiler::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cvm_lib::compiler::scope::*` [INFO] [stdout] --> tests/unification_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cvm_lib::compiler::scope::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/unification_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `test_sets` should have an upper case name [INFO] [stdout] --> tests/misc_tests.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const test_sets: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `TEST_SETS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "a1bb18410ec37d3277a58931b526a69711ed9608e33b4696641aa1586efe89a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bb18410ec37d3277a58931b526a69711ed9608e33b4696641aa1586efe89a2", kill_on_drop: false }` [INFO] [stdout] a1bb18410ec37d3277a58931b526a69711ed9608e33b4696641aa1586efe89a2