[INFO] cloning repository https://github.com/sauloluas/capt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sauloluas/capt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsauloluas%2Fcapt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsauloluas%2Fcapt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9cb8780e9963bedee8fc94c4c1a52f11aabe0938
[INFO] checking sauloluas/capt against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsauloluas%2Fcapt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sauloluas/capt
[INFO] finished tweaking git repo https://github.com/sauloluas/capt
[INFO] tweaked toml for git repo https://github.com/sauloluas/capt written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sauloluas/capt on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sauloluas/capt 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694
[INFO] running `Command { std: "docker" "start" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking capt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/run.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::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: `std::str::FromStr`
[INFO] [stdout]  --> src/run.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Config`
[INFO] [stdout]   --> src/run.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/run.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::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: `std::str::FromStr`
[INFO] [stdout]  --> src/run.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Config`
[INFO] [stdout]   --> src/run.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]    --> src/config.rs:206:27
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn expect(&mut self, tok: Token) -> Result<&Token> {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_tok`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]    --> src/config.rs:208:26
[INFO] [stdout]     |
[INFO] [stdout] 208 |         if !matches!(pted_tok, tok) {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_tok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `attributes` are never read
[INFO] [stdout]   --> src/config.rs:31:2
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct CustomSection {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 31 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |     attributes: Vec<CustomAttribute>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `edition` are never read
[INFO] [stdout]   --> src/config.rs:45:2
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct ProjectSection {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 44 |     name: String,
[INFO] [stdout] 45 |     version: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 46 |     edition: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProjectSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `path` are never read
[INFO] [stdout]   --> src/config.rs:61:2
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct CompilerSection {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 61 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 62 |     path: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompilerSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `value` are never read
[INFO] [stdout]   --> src/config.rs:67:2
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct CustomAttribute {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 67 |     key: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 68 |     value: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]    --> src/config.rs:206:27
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn expect(&mut self, tok: Token) -> Result<&Token> {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_tok`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]    --> src/config.rs:208:26
[INFO] [stdout]     |
[INFO] [stdout] 208 |         if !matches!(pted_tok, tok) {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_tok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `attributes` are never read
[INFO] [stdout]   --> src/config.rs:31:2
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct CustomSection {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 31 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |     attributes: Vec<CustomAttribute>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `edition` are never read
[INFO] [stdout]   --> src/config.rs:45:2
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct ProjectSection {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 44 |     name: String,
[INFO] [stdout] 45 |     version: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 46 |     edition: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProjectSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `path` are never read
[INFO] [stdout]   --> src/config.rs:61:2
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct CompilerSection {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 61 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 62 |     path: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompilerSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `value` are never read
[INFO] [stdout]   --> src/config.rs:67:2
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct CustomAttribute {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 67 |     key: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 68 |     value: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694", kill_on_drop: false }`
[INFO] [stdout] c955fb8abd30f15eebe352972af0369c2944283d2f3d27eff28d737c56c4f694
