[INFO] cloning repository https://github.com/MedUnes/stashlog
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MedUnes/stashlog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedUnes%2Fstashlog", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedUnes%2Fstashlog'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1182e137feba08ec33e49b2b5e7fb3e45bd22c9e
[INFO] checking MedUnes/stashlog against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedUnes%2Fstashlog" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MedUnes/stashlog
[INFO] finished tweaking git repo https://github.com/MedUnes/stashlog
[INFO] tweaked toml for git repo https://github.com/MedUnes/stashlog written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MedUnes/stashlog on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MedUnes/stashlog 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab199a04b8943c0cab65447e0f58dbbb65d20107e6627c832835554db59ff69b
[INFO] running `Command { std: "docker" "start" "-a" "ab199a04b8943c0cab65447e0f58dbbb65d20107e6627c832835554db59ff69b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab199a04b8943c0cab65447e0f58dbbb65d20107e6627c832835554db59ff69b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab199a04b8943c0cab65447e0f58dbbb65d20107e6627c832835554db59ff69b", kill_on_drop: false }`
[INFO] [stdout] ab199a04b8943c0cab65447e0f58dbbb65d20107e6627c832835554db59ff69b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c3bf8a1fa6e93afec84b49b2651f704ceb6cd112683a61777b0e1898d6eb117
[INFO] running `Command { std: "docker" "start" "-a" "3c3bf8a1fa6e93afec84b49b2651f704ceb6cd112683a61777b0e1898d6eb117", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.121
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking gethostname v0.5.0
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking stashlog v0.0.13 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `Config` is never constructed
[INFO] [stdout]   --> src/lib.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `app_name`, and `file_path` are never read
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 26 |     version: i8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 27 |     app_name: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 28 |     file_path: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Record` is never constructed
[INFO] [stdout]   --> src/lib.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct Record {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl Record {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 55 |     fn new(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Logger` is never constructed
[INFO] [stdout]   --> src/lib.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | struct Logger {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `log_extra`, `log`, `info_extra`, and `info` are never used
[INFO] [stdout]    --> src/lib.rs:87:8
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl Logger {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout]  87 |     fn log_extra(&self, level: Level, message: &str, extra_fields: &str) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn log(&self, level: Level, message: &str) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn info_extra(&self, message: &str, extra_fields: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn info(&self, message: &str) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_to_file` is never used
[INFO] [stdout]    --> src/lib.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn write_to_file(file_name: &str, data: &[u8]) -> Result<(), Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zulu_serializer` is never used
[INFO] [stdout]    --> src/lib.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn zulu_serializer<S>(datetime: &DateTime<Utc>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 | /         write_to_file(
[INFO] [stdout] 96 | |             self.config.file_path.as_str(),
[INFO] [stdout] 97 | |             serde_json::to_string(&record).unwrap().as_bytes(),
[INFO] [stdout] 98 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let _ = write_to_file(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 | /         write_to_file(
[INFO] [stdout] 109 | |             self.config.file_path.as_str(),
[INFO] [stdout] 110 | |             serde_json::to_string(&record).unwrap().as_bytes(),
[INFO] [stdout] 111 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let _ = write_to_file(
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 | /         write_to_file(
[INFO] [stdout] 96 | |             self.config.file_path.as_str(),
[INFO] [stdout] 97 | |             serde_json::to_string(&record).unwrap().as_bytes(),
[INFO] [stdout] 98 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let _ = write_to_file(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 | /         write_to_file(
[INFO] [stdout] 109 | |             self.config.file_path.as_str(),
[INFO] [stdout] 110 | |             serde_json::to_string(&record).unwrap().as_bytes(),
[INFO] [stdout] 111 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let _ = write_to_file(
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stashlog` (lib) due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "3c3bf8a1fa6e93afec84b49b2651f704ceb6cd112683a61777b0e1898d6eb117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c3bf8a1fa6e93afec84b49b2651f704ceb6cd112683a61777b0e1898d6eb117", kill_on_drop: false }`
[INFO] [stdout] 3c3bf8a1fa6e93afec84b49b2651f704ceb6cd112683a61777b0e1898d6eb117
