[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBraedonWooding%2FCVM" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BraedonWooding/CVM on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10b1c6c22f153b0144bb73e564ab11dd43acd5390e479059fccbd25af8545dae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "10b1c6c22f153b0144bb73e564ab11dd43acd5390e479059fccbd25af8545dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10b1c6c22f153b0144bb73e564ab11dd43acd5390e479059fccbd25af8545dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b1c6c22f153b0144bb73e564ab11dd43acd5390e479059fccbd25af8545dae", kill_on_drop: false }` [INFO] [stdout] 10b1c6c22f153b0144bb73e564ab11dd43acd5390e479059fccbd25af8545dae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f87861a0c932f1e4c4847c8823424f42b584949443c84b56a9ba6bd98629e28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8f87861a0c932f1e4c4847c8823424f42b584949443c84b56a9ba6bd98629e28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking atomic-counter v1.0.1 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking num v0.2.1 [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 chrono v0.4.10 [INFO] [stderr] Checking tui v0.7.0 [INFO] [stderr] Checking simple_logger v1.3.0 [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/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 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/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:40 [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:40 [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: 18 warnings emitted [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: 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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.05s [INFO] running `Command { std: "docker" "inspect" "8f87861a0c932f1e4c4847c8823424f42b584949443c84b56a9ba6bd98629e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f87861a0c932f1e4c4847c8823424f42b584949443c84b56a9ba6bd98629e28", kill_on_drop: false }` [INFO] [stdout] 8f87861a0c932f1e4c4847c8823424f42b584949443c84b56a9ba6bd98629e28