[INFO] fetching crate wimc 0.1.0... [INFO] testing wimc-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wimc 0.1.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wimc 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wjp v1.1.3 [INFO] [stderr] Downloaded wbdl v1.2.0 [INFO] [stderr] Downloaded wimcm v0.2.6 [INFO] [stderr] Downloaded whdp v1.2.0 [INFO] [stderr] Downloaded wbsl v0.1.0 [INFO] [stderr] Downloaded aul v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac50ba4caff42006b368b96aa304ebb51ec4ac47e53035e64f28962ab1b0f3c9 [INFO] running `Command { std: "docker" "start" "-a" "ac50ba4caff42006b368b96aa304ebb51ec4ac47e53035e64f28962ab1b0f3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac50ba4caff42006b368b96aa304ebb51ec4ac47e53035e64f28962ab1b0f3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac50ba4caff42006b368b96aa304ebb51ec4ac47e53035e64f28962ab1b0f3c9", kill_on_drop: false }` [INFO] [stdout] ac50ba4caff42006b368b96aa304ebb51ec4ac47e53035e64f28962ab1b0f3c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d5c4b178c8e5a66319ae23821d704d1d003cf3dcfb9ea4463042d746d07b8cd [INFO] running `Command { std: "docker" "start" "-a" "3d5c4b178c8e5a66319ae23821d704d1d003cf3dcfb9ea4463042d746d07b8cd", kill_on_drop: false }` [INFO] [stderr] Compiling wjp v1.1.3 [INFO] [stderr] Compiling wbdl v1.2.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling aul v1.3.2 [INFO] [stderr] Compiling whdp v1.2.0 [INFO] [stderr] Compiling wimcm v0.2.6 [INFO] [stderr] Compiling wbsl v0.1.0 [INFO] [stderr] Compiling wimc v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "3d5c4b178c8e5a66319ae23821d704d1d003cf3dcfb9ea4463042d746d07b8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5c4b178c8e5a66319ae23821d704d1d003cf3dcfb9ea4463042d746d07b8cd", kill_on_drop: false }` [INFO] [stdout] 3d5c4b178c8e5a66319ae23821d704d1d003cf3dcfb9ea4463042d746d07b8cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 341203831afd8801fdf16ff958e2e90111e3241018bc92de023166e28aa81876 [INFO] running `Command { std: "docker" "start" "-a" "341203831afd8801fdf16ff958e2e90111e3241018bc92de023166e28aa81876", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wimc` (bin "wimc" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "341203831afd8801fdf16ff958e2e90111e3241018bc92de023166e28aa81876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341203831afd8801fdf16ff958e2e90111e3241018bc92de023166e28aa81876", kill_on_drop: false }` [INFO] [stdout] 341203831afd8801fdf16ff958e2e90111e3241018bc92de023166e28aa81876