[INFO] fetching crate wimc 0.1.0... [INFO] checking wimc-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate wimc 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wimc 0.1.0 [INFO] finished tweaking crates.io crate wimc 0.1.0 [INFO] tweaked toml for crates.io crate wimc 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wimc 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wimc 0.1.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whdp v1.2.0 [INFO] [stderr] Downloaded wjp v1.1.3 [INFO] [stderr] Downloaded wimcm v0.2.6 [INFO] [stderr] Downloaded wbdl v1.2.0 [INFO] [stderr] Downloaded aul v1.3.2 [INFO] [stderr] Downloaded wbsl v0.1.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e999539c32409d305c803891293d02cebbb6c6c725a5e64edd2fffe6fc49b4c [INFO] running `Command { std: "docker" "start" "-a" "2e999539c32409d305c803891293d02cebbb6c6c725a5e64edd2fffe6fc49b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e999539c32409d305c803891293d02cebbb6c6c725a5e64edd2fffe6fc49b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e999539c32409d305c803891293d02cebbb6c6c725a5e64edd2fffe6fc49b4c", kill_on_drop: false }` [INFO] [stdout] 2e999539c32409d305c803891293d02cebbb6c6c725a5e64edd2fffe6fc49b4c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91be0e2958cdeb7f0d2cf16c1cc3651ad5b4a37a7d15eb084bf6bd5f826b91e0 [INFO] running `Command { std: "docker" "start" "-a" "91be0e2958cdeb7f0d2cf16c1cc3651ad5b4a37a7d15eb084bf6bd5f826b91e0", kill_on_drop: false }` [INFO] [stderr] Checking wjp v1.1.3 [INFO] [stderr] Checking wbdl v1.2.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking whdp v1.2.0 [INFO] [stderr] Checking wimcm v0.2.6 [INFO] [stderr] Checking aul v1.3.2 [INFO] [stderr] Checking wbsl v0.1.0 [INFO] [stderr] Checking wimc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main/storage.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | use wjp::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `Storage` in the current scope [INFO] [stdout] --> src/main/storage.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Storage(HashMap); [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 131 | println!("{:?}", Storage::deserialize(json)); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Storage` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Storage` consider using one of the following associated functions: [INFO] [stdout] Storage::new [INFO] [stdout] Storage::load [INFO] [stdout] --> src/main/storage.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn load() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `serialize` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wjp-1.1.3/src/serializer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn serialize(&self) -> Values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main/storage.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut date = Date::now_unchecked(); [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] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main/main.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { STORE.cleanup() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main/main.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { STORE.store(input) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { STORE.get(input) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main/main.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { STORE.query(input) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main/main.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { STORE.remove(input) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wimc` (bin "wimc" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "91be0e2958cdeb7f0d2cf16c1cc3651ad5b4a37a7d15eb084bf6bd5f826b91e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91be0e2958cdeb7f0d2cf16c1cc3651ad5b4a37a7d15eb084bf6bd5f826b91e0", kill_on_drop: false }` [INFO] [stdout] 91be0e2958cdeb7f0d2cf16c1cc3651ad5b4a37a7d15eb084bf6bd5f826b91e0