[INFO] cloning repository https://github.com/learningstud/calc-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/learningstud/calc-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearningstud%2Fcalc-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearningstud%2Fcalc-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5740bf1723f4def1bcd2bb76ece3635eceb2b912 [INFO] checking learningstud/calc-rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearningstud%2Fcalc-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/learningstud/calc-rust 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/learningstud/calc-rust [INFO] finished tweaking git repo https://github.com/learningstud/calc-rust [INFO] tweaked toml for git repo https://github.com/learningstud/calc-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/learningstud/calc-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ad0ab33fd32a09a8040fc8aec7f9f10601b6f52bf7b84402c56010e9edd2a090 [INFO] running `Command { std: "docker" "start" "-a" "ad0ab33fd32a09a8040fc8aec7f9f10601b6f52bf7b84402c56010e9edd2a090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0ab33fd32a09a8040fc8aec7f9f10601b6f52bf7b84402c56010e9edd2a090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0ab33fd32a09a8040fc8aec7f9f10601b6f52bf7b84402c56010e9edd2a090", kill_on_drop: false }` [INFO] [stdout] ad0ab33fd32a09a8040fc8aec7f9f10601b6f52bf7b84402c56010e9edd2a090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f8276486c00e3ad86fb50c525317f0f6b3e4bcb456c58cbc7c4c3abf7605b3fb [INFO] running `Command { std: "docker" "start" "-a" "f8276486c00e3ad86fb50c525317f0f6b3e4bcb456c58cbc7c4c3abf7605b3fb", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking calc-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/itt/kernel.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Context; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Term` is never used [INFO] [stdout] --> src/itt/kernel.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Term> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Universe` is never constructed [INFO] [stdout] --> src/itt/kernel/universe.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Universe(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `level`, `succ`, `max`, and `imax` are never used [INFO] [stdout] --> src/itt/kernel/universe.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 2 | impl Universe { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 3 | fn level(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | fn succ(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn max(u: &Universe, v: &Universe) -> Universe { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn imax(u: &Universe, v: &Universe) -> Universe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Judgement` is never used [INFO] [stdout] --> src/itt/kernel2.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | enum Judgement<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Equality` is never constructed [INFO] [stdout] --> src/itt/kernel2.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Equality(Term, Term, Type); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:286:48 [INFO] [stdout] | [INFO] [stdout] 286 | ... new.right.push(term.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:296:59 [INFO] [stdout] | [INFO] [stdout] 296 | ... new.left[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:301:60 [INFO] [stdout] | [INFO] [stdout] 301 | ... new.left[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:311:51 [INFO] [stdout] | [INFO] [stdout] 311 | ... new.left[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | ... new.left[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | ... new.left.push(term.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:361:60 [INFO] [stdout] | [INFO] [stdout] 361 | ... new.right[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:366:61 [INFO] [stdout] | [INFO] [stdout] 366 | ... new.right[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:376:52 [INFO] [stdout] | [INFO] [stdout] 376 | ... new.right[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:381:53 [INFO] [stdout] | [INFO] [stdout] 381 | ... new.right[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:389:47 [INFO] [stdout] | [INFO] [stdout] 389 | ... new.left.push(left.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:390:53 [INFO] [stdout] | [INFO] [stdout] 390 | ... new.right[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/itt/kernel.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Context; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Term` is never used [INFO] [stdout] --> src/itt/kernel.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Term> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Universe` is never constructed [INFO] [stdout] --> src/itt/kernel/universe.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Universe(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `level`, `succ`, `max`, and `imax` are never used [INFO] [stdout] --> src/itt/kernel/universe.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 2 | impl Universe { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 3 | fn level(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | fn succ(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn max(u: &Universe, v: &Universe) -> Universe { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn imax(u: &Universe, v: &Universe) -> Universe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Judgement` is never used [INFO] [stdout] --> src/itt/kernel2.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | enum Judgement<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Equality` is never constructed [INFO] [stdout] --> src/itt/kernel2.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Equality(Term, Term, Type); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:286:48 [INFO] [stdout] | [INFO] [stdout] 286 | ... new.right.push(term.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:296:59 [INFO] [stdout] | [INFO] [stdout] 296 | ... new.left[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:301:60 [INFO] [stdout] | [INFO] [stdout] 301 | ... new.left[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:311:51 [INFO] [stdout] | [INFO] [stdout] 311 | ... new.left[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | ... new.left[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | ... new.left.push(term.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:361:60 [INFO] [stdout] | [INFO] [stdout] 361 | ... new.right[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:366:61 [INFO] [stdout] | [INFO] [stdout] 366 | ... new.right[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:376:52 [INFO] [stdout] | [INFO] [stdout] 376 | ... new.right[index] = left.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:381:53 [INFO] [stdout] | [INFO] [stdout] 381 | ... new.right[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:389:47 [INFO] [stdout] | [INFO] [stdout] 389 | ... new.left.push(left.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&kernel::Term<'_>` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:390:53 [INFO] [stdout] | [INFO] [stdout] 390 | ... new.right[index] = right.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "f8276486c00e3ad86fb50c525317f0f6b3e4bcb456c58cbc7c4c3abf7605b3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8276486c00e3ad86fb50c525317f0f6b3e4bcb456c58cbc7c4c3abf7605b3fb", kill_on_drop: false }` [INFO] [stdout] f8276486c00e3ad86fb50c525317f0f6b3e4bcb456c58cbc7c4c3abf7605b3fb