[INFO] fetching crate wimc 0.1.0... [INFO] testing wimc-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wimc 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wimc 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wbdl v1.2.0 [INFO] [stderr] Downloaded wbsl v0.1.0 [INFO] [stderr] Downloaded wimcm v0.2.6 [INFO] [stderr] Downloaded aul v1.3.2 [INFO] [stderr] Downloaded wjp v1.1.3 [INFO] [stderr] Downloaded whdp v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c26fb9525ee73c103f40266cdb4aeefce1dd5d6b0883583c8ec4bf30960d5d4 [INFO] running `Command { std: "docker" "start" "-a" "5c26fb9525ee73c103f40266cdb4aeefce1dd5d6b0883583c8ec4bf30960d5d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c26fb9525ee73c103f40266cdb4aeefce1dd5d6b0883583c8ec4bf30960d5d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c26fb9525ee73c103f40266cdb4aeefce1dd5d6b0883583c8ec4bf30960d5d4", kill_on_drop: false }` [INFO] [stdout] 5c26fb9525ee73c103f40266cdb4aeefce1dd5d6b0883583c8ec4bf30960d5d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f0c9d55972e70e3e600a7377d6a736750a6fb75013e18a2aa4400e9581aab66 [INFO] running `Command { std: "docker" "start" "-a" "8f0c9d55972e70e3e600a7377d6a736750a6fb75013e18a2aa4400e9581aab66", 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 whdp v1.2.0 [INFO] [stderr] Compiling wimcm v0.2.6 [INFO] [stderr] Compiling aul v1.3.2 [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 3.21s [INFO] running `Command { std: "docker" "inspect" "8f0c9d55972e70e3e600a7377d6a736750a6fb75013e18a2aa4400e9581aab66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0c9d55972e70e3e600a7377d6a736750a6fb75013e18a2aa4400e9581aab66", kill_on_drop: false }` [INFO] [stdout] 8f0c9d55972e70e3e600a7377d6a736750a6fb75013e18a2aa4400e9581aab66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8787caba0bf3ed4de560c0872cd77a6da368806212dd3b337799b6e621d6ab5f [INFO] running `Command { std: "docker" "start" "-a" "8787caba0bf3ed4de560c0872cd77a6da368806212dd3b337799b6e621d6ab5f", 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" "8787caba0bf3ed4de560c0872cd77a6da368806212dd3b337799b6e621d6ab5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8787caba0bf3ed4de560c0872cd77a6da368806212dd3b337799b6e621d6ab5f", kill_on_drop: false }` [INFO] [stdout] 8787caba0bf3ed4de560c0872cd77a6da368806212dd3b337799b6e621d6ab5f