[INFO] cloning repository https://github.com/Valtis/YATCP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Valtis/YATCP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValtis%2FYATCP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValtis%2FYATCP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfec709fd15e2493a2a3eb1cbef605539bc87cdd [INFO] checking Valtis/YATCP against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValtis%2FYATCP" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Valtis/YATCP on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Valtis/YATCP [INFO] finished tweaking git repo https://github.com/Valtis/YATCP [INFO] tweaked toml for git repo https://github.com/Valtis/YATCP written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Valtis/YATCP 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded took v0.1.2 [INFO] [stderr] Downloaded const_fn v0.4.3 [INFO] [stderr] Downloaded argparse v0.2.2 [INFO] [stderr] Downloaded libc v0.2.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f77acae6504864ad96c96d7329431fcd3f22dd25e54b9b4c5db94e3f141e502c [INFO] running `Command { std: "docker" "start" "-a" "f77acae6504864ad96c96d7329431fcd3f22dd25e54b9b4c5db94e3f141e502c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f77acae6504864ad96c96d7329431fcd3f22dd25e54b9b4c5db94e3f141e502c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77acae6504864ad96c96d7329431fcd3f22dd25e54b9b4c5db94e3f141e502c", kill_on_drop: false }` [INFO] [stdout] f77acae6504864ad96c96d7329431fcd3f22dd25e54b9b4c5db94e3f141e502c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d287b99fcd52eb71c931643dac74cea7fc884d389482838666e0ace2ea04932 [INFO] running `Command { std: "docker" "start" "-a" "5d287b99fcd52eb71c931643dac74cea7fc884d389482838666e0ace2ea04932", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking took v0.1.2 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking compiler v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ansi_term` is imported redundantly [INFO] [stdout] --> src/common/error_reporter/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ansi_term; [INFO] [stdout] | ^^^^^^^^^ the item `ansi_term` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ansi_term` is imported redundantly [INFO] [stdout] --> src/common/error_reporter/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ansi_term; [INFO] [stdout] | ^^^^^^^^^ the item `ansi_term` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReportKind` is imported redundantly [INFO] [stdout] --> src/frontend/lexer/mod.rs:888:41 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `ReportKind` is already imported here [INFO] [stdout] 887 | [INFO] [stdout] 888 | use crate::common::error_reporter::{ReportKind, Message, null_reporter::NullReporter}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/frontend/lexer/mod.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 890 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/frontend/lexer/mod.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 892 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RefCell` is imported redundantly [INFO] [stdout] --> src/frontend/lexer/mod.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `RefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 893 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Statement` is imported redundantly [INFO] [stdout] --> src/middleend/cfg/basic_block.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 59 | use super::*; [INFO] [stdout] | -------- the item `Statement` is already imported here [INFO] [stdout] ... [INFO] [stdout] 63 | tac_code::{Statement, Function} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/middleend/cfg/basic_block.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 59 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 63 | tac_code::{Statement, Function} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Statement` is imported redundantly [INFO] [stdout] --> src/middleend/cfg/mod.rs:402:20 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `Statement` is already imported here [INFO] [stdout] ... [INFO] [stdout] 402 | tac_code::{Statement, Function, Operator, Operand}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Function` is imported redundantly [INFO] [stdout] --> src/middleend/cfg/mod.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `Function` is already imported here [INFO] [stdout] ... [INFO] [stdout] 402 | tac_code::{Statement, Function, Operator, Operand}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/middleend/cfg/mod.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 404 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Operand` is imported redundantly [INFO] [stdout] --> src/backend/byte_generator/mod.rs:530:20 [INFO] [stdout] | [INFO] [stdout] 526 | use super::*; [INFO] [stdout] | -------- the item `Operand` is already imported here [INFO] [stdout] ... [INFO] [stdout] 530 | tac_code::{Operand, Function}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/backend/byte_generator/mod.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 526 | use super::*; [INFO] [stdout] | -------- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 532 | types::Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/frontend/lexer/mod.rs:777:28 [INFO] [stdout] | [INFO] [stdout] 777 | match *(res.clone()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Result` does not implement `Clone`, so calling `clone` on `&Result` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 777 - match *(res.clone()) { [INFO] [stdout] 777 + match *(res { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/frontend/lexer/mod.rs:777:28 [INFO] [stdout] | [INFO] [stdout] 777 | match *(res.clone()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Result` does not implement `Clone`, so calling `clone` on `&Result` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 777 - match *(res.clone()) { [INFO] [stdout] 777 + match *(res { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.91s [INFO] running `Command { std: "docker" "inspect" "5d287b99fcd52eb71c931643dac74cea7fc884d389482838666e0ace2ea04932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d287b99fcd52eb71c931643dac74cea7fc884d389482838666e0ace2ea04932", kill_on_drop: false }` [INFO] [stdout] 5d287b99fcd52eb71c931643dac74cea7fc884d389482838666e0ace2ea04932