[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] 56f1449a927ec4b8762c9f9c83d8cced26d5d1d9 [INFO] building learningstud/calc-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flearningstud%2Fcalc-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/learningstud/calc-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b21f9487a2deffa4284cb01aa15b320f5cab5ee45d416497f401459a2f9b7d75 [INFO] running `Command { std: "docker" "start" "-a" "b21f9487a2deffa4284cb01aa15b320f5cab5ee45d416497f401459a2f9b7d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b21f9487a2deffa4284cb01aa15b320f5cab5ee45d416497f401459a2f9b7d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21f9487a2deffa4284cb01aa15b320f5cab5ee45d416497f401459a2f9b7d75", kill_on_drop: false }` [INFO] [stdout] b21f9487a2deffa4284cb01aa15b320f5cab5ee45d416497f401459a2f9b7d75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ad38cab0962b8f62a3a1fc0689488a0a66f233dea75e80eccbeb5c6b8764b2 [INFO] running `Command { std: "docker" "start" "-a" "57ad38cab0962b8f62a3a1fc0689488a0a66f233dea75e80eccbeb5c6b8764b2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.09s [INFO] running `Command { std: "docker" "inspect" "57ad38cab0962b8f62a3a1fc0689488a0a66f233dea75e80eccbeb5c6b8764b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ad38cab0962b8f62a3a1fc0689488a0a66f233dea75e80eccbeb5c6b8764b2", kill_on_drop: false }` [INFO] [stdout] 57ad38cab0962b8f62a3a1fc0689488a0a66f233dea75e80eccbeb5c6b8764b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b10b006a9e6ade9544c84272566b6b308c79715bd3c350652b399098c30d0b59 [INFO] running `Command { std: "docker" "start" "-a" "b10b006a9e6ade9544c84272566b6b308c79715bd3c350652b399098c30d0b59", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "b10b006a9e6ade9544c84272566b6b308c79715bd3c350652b399098c30d0b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10b006a9e6ade9544c84272566b6b308c79715bd3c350652b399098c30d0b59", kill_on_drop: false }` [INFO] [stdout] b10b006a9e6ade9544c84272566b6b308c79715bd3c350652b399098c30d0b59