[INFO] fetching crate acid-state 0.2.3...
[INFO] checking acid-state-0.2.3 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate acid-state 0.2.3 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate acid-state 0.2.3 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate acid-state 0.2.3
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate acid-state 0.2.3
[INFO] tweaked toml for crates.io crate acid-state 0.2.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 8 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v0.5.9 (available: v1.3.3)
[INFO] [stderr]       Adding lazy_static v0.2.11 (available: v1.5.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v0.5.3
[INFO] [stderr]   Downloaded serde v0.7.15
[INFO] [stderr]   Downloaded num-traits v0.1.43
[INFO] [stderr]   Downloaded bincode v0.5.9
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8956318d6a3fa1308aba169486c9ff9a501c926170577ee205173cb9d2872a7d
[INFO] running `Command { std: "docker" "start" "-a" "8956318d6a3fa1308aba169486c9ff9a501c926170577ee205173cb9d2872a7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8956318d6a3fa1308aba169486c9ff9a501c926170577ee205173cb9d2872a7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8956318d6a3fa1308aba169486c9ff9a501c926170577ee205173cb9d2872a7d", kill_on_drop: false }`
[INFO] [stdout] 8956318d6a3fa1308aba169486c9ff9a501c926170577ee205173cb9d2872a7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46bad114d021856f3f50945b82f802b562c3a10a988b4d586f7e812408142e38
[INFO] running `Command { std: "docker" "start" "-a" "46bad114d021856f3f50945b82f802b562c3a10a988b4d586f7e812408142e38", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking serde v0.7.15
[INFO] [stderr]     Checking byteorder v0.5.3
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking bincode v0.5.9
[INFO] [stderr]     Checking acid-state v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/wrapper_structs.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<T: Encodable + Decodable> Persistent<T> {
[INFO] [stdout]    | -------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn clear(&self) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/wrapper_structs.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<T: Encodable + Decodable> Persistent<T> {
[INFO] [stdout]    | -------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn clear(&self) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/wrapper_structs.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         f.sync_all();
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = f.sync_all();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/wrapper_structs.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         self.write();
[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] 88 |         let _ = self.write();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/wrapper_structs.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         f.sync_all();
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = f.sync_all();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/wrapper_structs.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         self.write();
[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] 88 |         let _ = self.write();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code
[INFO] [stdout]  --> test/test.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]   = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> test/test.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code
[INFO] [stdout]  --> test/test.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> test/test.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, RustcDecodable, RustcEncodable)]
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> test/test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / acid_state! {
[INFO] [stdout] 15 | |     A: HashMap<String, u64> = HashMap::new();
[INFO] [stdout] 16 | |     B: u64 = 0;
[INFO] [stdout] 17 | |     C: Cs = Cs {
[INFO] [stdout] 18 | |         v: 0
[INFO] [stdout] 19 | |     };
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `acid_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> test/test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / acid_state! {
[INFO] [stdout] 15 | |     A: HashMap<String, u64> = HashMap::new();
[INFO] [stdout] 16 | |     B: u64 = 0;
[INFO] [stdout] 17 | |     C: Cs = Cs {
[INFO] [stdout] 18 | |         v: 0
[INFO] [stdout] 19 | |     };
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `acid_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> test/test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / acid_state! {
[INFO] [stdout] 15 | |     A: HashMap<String, u64> = HashMap::new();
[INFO] [stdout] 16 | |     B: u64 = 0;
[INFO] [stdout] 17 | |     C: Cs = Cs {
[INFO] [stdout] 18 | |         v: 0
[INFO] [stdout] 19 | |     };
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `acid_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> test/test.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let mut current = a.entry(key).or_insert(0);
[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] [stderr] error: could not compile `acid-state` (test "test") due to 4 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "46bad114d021856f3f50945b82f802b562c3a10a988b4d586f7e812408142e38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46bad114d021856f3f50945b82f802b562c3a10a988b4d586f7e812408142e38", kill_on_drop: false }`
[INFO] [stdout] 46bad114d021856f3f50945b82f802b562c3a10a988b4d586f7e812408142e38
