[INFO] cloning repository https://github.com/philipdaquin/bytecode-questionaire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philipdaquin/bytecode-questionaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2Fbytecode-questionaire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2Fbytecode-questionaire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b667639f52878585aab645dd3f1b0ed42e0b7b42 [INFO] building philipdaquin/bytecode-questionaire 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%2Fphilipdaquin%2Fbytecode-questionaire" "/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/philipdaquin/bytecode-questionaire 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/philipdaquin/bytecode-questionaire [INFO] finished tweaking git repo https://github.com/philipdaquin/bytecode-questionaire [INFO] tweaked toml for git repo https://github.com/philipdaquin/bytecode-questionaire written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/philipdaquin/bytecode-questionaire 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] 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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd063c2335e35c2d1569f961cb09297484af228e3b6f2a9c66586f7c8aeed5e4 [INFO] running `Command { std: "docker" "start" "-a" "cd063c2335e35c2d1569f961cb09297484af228e3b6f2a9c66586f7c8aeed5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd063c2335e35c2d1569f961cb09297484af228e3b6f2a9c66586f7c8aeed5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd063c2335e35c2d1569f961cb09297484af228e3b6f2a9c66586f7c8aeed5e4", kill_on_drop: false }` [INFO] [stdout] cd063c2335e35c2d1569f961cb09297484af228e3b6f2a9c66586f7c8aeed5e4 [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 -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] 0bc6782e6b5d22ddee8a2582f1bafefecf73001d8c3e5370dcaa8b247ae9ab84 [INFO] running `Command { std: "docker" "start" "-a" "0bc6782e6b5d22ddee8a2582f1bafefecf73001d8c3e5370dcaa8b247ae9ab84", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecode-questionaire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::mpsc::{channel, Sender, Receiver}, io::{Error, BufReader, BufRead}, fs::File, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | /// Extend your interpreter with basic loops [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | / ByteCode::Loop { increment_by, from, to } => { [INFO] [stdout] 81 | | let from_ret = self.interpret_operations(from); [INFO] [stdout] 82 | | let to_ret = self.interpret_operations(to); [INFO] [stdout] 83 | | let start_by = self.interpret_operations(increment_by) as usize; [INFO] [stdout] ... | [INFO] [stdout] 89 | | res [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/main.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | ByteCode::WriteVar { lhs, val } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut file = match File::open(&path.unwrap()) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `constants` and `instructions` are never read [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ByteCodeInterpreter { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 50 | constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | instructions: Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_count_lines` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl FileFinder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn find_count_lines(&self, path: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "0bc6782e6b5d22ddee8a2582f1bafefecf73001d8c3e5370dcaa8b247ae9ab84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc6782e6b5d22ddee8a2582f1bafefecf73001d8c3e5370dcaa8b247ae9ab84", kill_on_drop: false }` [INFO] [stdout] 0bc6782e6b5d22ddee8a2582f1bafefecf73001d8c3e5370dcaa8b247ae9ab84 [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 -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] f33816922a1b8b69f5da06ccda2d040bbcc91b81499f25bb7f33ef49c9b200f0 [INFO] running `Command { std: "docker" "start" "-a" "f33816922a1b8b69f5da06ccda2d040bbcc91b81499f25bb7f33ef49c9b200f0", kill_on_drop: false }` [INFO] [stderr] Compiling bytecode-questionaire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::mpsc::{channel, Sender, Receiver}, io::{Error, BufReader, BufRead}, fs::File, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glob::glob` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glob::glob; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | /// Extend your interpreter with basic loops [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | / ByteCode::Loop { increment_by, from, to } => { [INFO] [stdout] 81 | | let from_ret = self.interpret_operations(from); [INFO] [stdout] 82 | | let to_ret = self.interpret_operations(to); [INFO] [stdout] 83 | | let start_by = self.interpret_operations(increment_by) as usize; [INFO] [stdout] ... | [INFO] [stdout] 89 | | res [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/main.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | ByteCode::WriteVar { lhs, val } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut file = match File::open(&path.unwrap()) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `constants` and `instructions` are never read [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ByteCodeInterpreter { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 50 | constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | instructions: Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_count_lines` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl FileFinder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn find_count_lines(&self, path: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "f33816922a1b8b69f5da06ccda2d040bbcc91b81499f25bb7f33ef49c9b200f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33816922a1b8b69f5da06ccda2d040bbcc91b81499f25bb7f33ef49c9b200f0", kill_on_drop: false }` [INFO] [stdout] f33816922a1b8b69f5da06ccda2d040bbcc91b81499f25bb7f33ef49c9b200f0