[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] checking philipdaquin/bytecode-questionaire/b667639f52878585aab645dd3f1b0ed42e0b7b42 against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[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] 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] validating manifest of git repo https://github.com/philipdaquin/bytecode-questionaire on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded glob v0.3.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29c5a7bf0810cc9d7eb7f1a9a20cbaceb8dfa884e5947a918d9a7a8f6d07c411
[INFO] running `Command { std: "docker" "start" "-a" "29c5a7bf0810cc9d7eb7f1a9a20cbaceb8dfa884e5947a918d9a7a8f6d07c411", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29c5a7bf0810cc9d7eb7f1a9a20cbaceb8dfa884e5947a918d9a7a8f6d07c411", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29c5a7bf0810cc9d7eb7f1a9a20cbaceb8dfa884e5947a918d9a7a8f6d07c411", kill_on_drop: false }`
[INFO] [stdout] 29c5a7bf0810cc9d7eb7f1a9a20cbaceb8dfa884e5947a918d9a7a8f6d07c411
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9f379e10eaabf4cffacf7b5f5f6da8a09852169efc6e474e59ca335addf5be5
[INFO] running `Command { std: "docker" "start" "-a" "b9f379e10eaabf4cffacf7b5f5f6da8a09852169efc6e474e59ca335addf5be5", kill_on_drop: false }`
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<ByteCode>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 51 |     instructions: Vec<ByteCode>
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<String>) { 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<ByteCode>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 51 |     instructions: Vec<ByteCode>
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<String>) { 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "b9f379e10eaabf4cffacf7b5f5f6da8a09852169efc6e474e59ca335addf5be5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9f379e10eaabf4cffacf7b5f5f6da8a09852169efc6e474e59ca335addf5be5", kill_on_drop: false }`
[INFO] [stdout] b9f379e10eaabf4cffacf7b5f5f6da8a09852169efc6e474e59ca335addf5be5
