[INFO] cloning repository https://github.com/kg-byte/rust_err_handling
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kg-byte/rust_err_handling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkg-byte%2Frust_err_handling", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkg-byte%2Frust_err_handling'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c832a37bf674e03bdea7dc1e78a19fe3881d75e9
[INFO] testing kg-byte/rust_err_handling against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkg-byte%2Frust_err_handling" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kg-byte/rust_err_handling
[INFO] finished tweaking git repo https://github.com/kg-byte/rust_err_handling
[INFO] tweaked toml for git repo https://github.com/kg-byte/rust_err_handling written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kg-byte/rust_err_handling on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kg-byte/rust_err_handling 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc3bf979afc831800d487911038641ed9e9b45c0d35c6625f7bb0ca2491b971b
[INFO] running `Command { std: "docker" "start" "-a" "dc3bf979afc831800d487911038641ed9e9b45c0d35c6625f7bb0ca2491b971b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc3bf979afc831800d487911038641ed9e9b45c0d35c6625f7bb0ca2491b971b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc3bf979afc831800d487911038641ed9e9b45c0d35c6625f7bb0ca2491b971b", kill_on_drop: false }`
[INFO] [stdout] dc3bf979afc831800d487911038641ed9e9b45c0d35c6625f7bb0ca2491b971b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11f0d68ff81d771e5c9360b43eb5c200437c10ff30a250632434d26b8fd52e40
[INFO] running `Command { std: "docker" "start" "-a" "11f0d68ff81d771e5c9360b43eb5c200437c10ff30a250632434d26b8fd52e40", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling error_handling v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[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 imports: `ErrorKind` and `Read`
[INFO] [stdout]  --> src/main.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read, ErrorKind};
[INFO] [stdout]   |                     ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]    --> src/main.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]    --> src/main.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.05s
[INFO] running `Command { std: "docker" "inspect" "11f0d68ff81d771e5c9360b43eb5c200437c10ff30a250632434d26b8fd52e40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11f0d68ff81d771e5c9360b43eb5c200437c10ff30a250632434d26b8fd52e40", kill_on_drop: false }`
[INFO] [stdout] 11f0d68ff81d771e5c9360b43eb5c200437c10ff30a250632434d26b8fd52e40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4419248b80f1d7040947ec03c5b8c735e9a3758545db6832aaa6502c0bf35046
[INFO] running `Command { std: "docker" "start" "-a" "4419248b80f1d7040947ec03c5b8c735e9a3758545db6832aaa6502c0bf35046", kill_on_drop: false }`
[INFO] [stderr]    Compiling error_handling v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[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 imports: `ErrorKind` and `Read`
[INFO] [stdout]  --> src/main.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read, ErrorKind};
[INFO] [stdout]   |                     ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]    --> src/main.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]    --> src/main.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "4419248b80f1d7040947ec03c5b8c735e9a3758545db6832aaa6502c0bf35046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4419248b80f1d7040947ec03c5b8c735e9a3758545db6832aaa6502c0bf35046", kill_on_drop: false }`
[INFO] [stdout] 4419248b80f1d7040947ec03c5b8c735e9a3758545db6832aaa6502c0bf35046
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 37ea69ebed4561685490301b7a2ab1e13ab1edb56651a233baa1dc5989895fbc
[INFO] running `Command { std: "docker" "start" "-a" "37ea69ebed4561685490301b7a2ab1e13ab1edb56651a233baa1dc5989895fbc", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `File`
[INFO] [stderr]  --> src/main.rs:1:21
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fs::{self, File};
[INFO] [stderr]   |                     ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ErrorKind` and `Read`
[INFO] [stderr]  --> src/main.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{self, Read, ErrorKind};
[INFO] [stderr]   |                     ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_username_from_file` is never used
[INFO] [stderr]    --> src/main.rs:132:4
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `last_char_of_first_line` is never used
[INFO] [stderr]    --> src/main.rs:138:4
[INFO] [stderr]     |
[INFO] [stderr] 138 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `error_handling` (bin "error_handling" test) generated 4 warnings (run `cargo fix --bin "error_handling" -p error_handling --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/error_handling-714539b9840178d0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "37ea69ebed4561685490301b7a2ab1e13ab1edb56651a233baa1dc5989895fbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37ea69ebed4561685490301b7a2ab1e13ab1edb56651a233baa1dc5989895fbc", kill_on_drop: false }`
[INFO] [stdout] 37ea69ebed4561685490301b7a2ab1e13ab1edb56651a233baa1dc5989895fbc
