[INFO] fetching crate storage_data 1.0.0... [INFO] testing storage_data-1.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate storage_data 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate storage_data 1.0.0 [INFO] finished tweaking crates.io crate storage_data 1.0.0 [INFO] tweaked toml for crates.io crate storage_data 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate storage_data 1.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate storage_data 1.0.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c154f78e9a9ea3582cbd3667081ed3ab6645416231bbc6faba77e6f629f44dd0 [INFO] running `Command { std: "docker" "start" "-a" "c154f78e9a9ea3582cbd3667081ed3ab6645416231bbc6faba77e6f629f44dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c154f78e9a9ea3582cbd3667081ed3ab6645416231bbc6faba77e6f629f44dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c154f78e9a9ea3582cbd3667081ed3ab6645416231bbc6faba77e6f629f44dd0", kill_on_drop: false }` [INFO] [stdout] c154f78e9a9ea3582cbd3667081ed3ab6645416231bbc6faba77e6f629f44dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cfe3bdb1944e08e33c031338b48c759cb194410051395e466afff866de0f732 [INFO] running `Command { std: "docker" "start" "-a" "4cfe3bdb1944e08e33c031338b48c759cb194410051395e466afff866de0f732", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling derive_web_storage v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling storage_data v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.60s [INFO] running `Command { std: "docker" "inspect" "4cfe3bdb1944e08e33c031338b48c759cb194410051395e466afff866de0f732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cfe3bdb1944e08e33c031338b48c759cb194410051395e466afff866de0f732", kill_on_drop: false }` [INFO] [stdout] 4cfe3bdb1944e08e33c031338b48c759cb194410051395e466afff866de0f732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6246551a9b1cc3968e10d2827b181365f683be540a3a0a0be86ed785ecfdb7a [INFO] running `Command { std: "docker" "start" "-a" "c6246551a9b1cc3968e10d2827b181365f683be540a3a0a0be86ed785ecfdb7a", kill_on_drop: false }` [INFO] [stderr] Compiling storage_data v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "c6246551a9b1cc3968e10d2827b181365f683be540a3a0a0be86ed785ecfdb7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6246551a9b1cc3968e10d2827b181365f683be540a3a0a0be86ed785ecfdb7a", kill_on_drop: false }` [INFO] [stdout] c6246551a9b1cc3968e10d2827b181365f683be540a3a0a0be86ed785ecfdb7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2ba5e5bcc3b80b82dc368f4c5c7462044a9bd5ab736ffe7359521f009497b3b4 [INFO] running `Command { std: "docker" "start" "-a" "2ba5e5bcc3b80b82dc368f4c5c7462044a9bd5ab736ffe7359521f009497b3b4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/storage_data-02b8320a920e38b0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests storage_data [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `UserInfo: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `UserInfo` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `UserInfo` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 111 others [INFO] [stdout] note: required by a bound in `StorageData` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct StorageData [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 236 | Value: serde::Serialize + for<'de> serde::de::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `StorageData` [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> UserInfo: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `UserInfo` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `UserInfo` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] note: required by a bound in `StorageData` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct StorageData [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 236 | Value: serde::Serialize + for<'de> serde::de::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StorageData` [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `StorageData<&'static str, UserInfo>` [INFO] [stdout] --> src/lib.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 45 | storage.user_info.name, storage.visited_times); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserInfo: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `UserInfo` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `UserInfo` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 111 others [INFO] [stdout] note: required by a bound in `StorageData` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct StorageData [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 236 | Value: serde::Serialize + for<'de> serde::de::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `StorageData` [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> UserInfo: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `UserInfo` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `UserInfo` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] note: required by a bound in `StorageData` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct StorageData [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 236 | Value: serde::Serialize + for<'de> serde::de::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StorageData` [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `StorageData<&'static str, UserInfo>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | | ^ [INFO] [stdout] | |__| [INFO] [stdout] | function or associated item cannot be called on `StorageData<&'static str, UserInfo>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | --------------- doesn't satisfy `UserInfo: serde::de::Deserialize<'de>` or `UserInfo: serde::ser::Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserInfo: serde::ser::Serialize` [INFO] [stdout] `UserInfo: serde::de::Deserialize<'de>` [INFO] [stdout] note: the trait `serde::ser::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_set` exists for struct `StorageData<&'static str, UserInfo>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ method cannot be called on `StorageData<&'static str, UserInfo>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | --------------- doesn't satisfy `UserInfo: serde::de::Deserialize<'de>` or `UserInfo: serde::ser::Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserInfo: serde::ser::Serialize` [INFO] [stdout] `UserInfo: serde::de::Deserialize<'de>` [INFO] [stdout] note: the trait `serde::ser::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `StorageData<&'static str, UserInfo>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ method cannot be called on `StorageData<&'static str, UserInfo>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | --------------- doesn't satisfy `UserInfo: serde::de::Deserialize<'de>` or `UserInfo: serde::ser::Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserInfo: serde::ser::Serialize` [INFO] [stdout] `UserInfo: serde::de::Deserialize<'de>` [INFO] [stdout] note: the trait `serde::ser::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `save` exists for struct `StorageData<&'static str, UserInfo>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[WebStorage( [INFO] [stdout] 7 | | // Optional: This prepends every Key of every storage data with 'USER::_::ALT::_'. [INFO] [stdout] 8 | | Prepend_keys_with(USER::_::ALT::_), [INFO] [stdout] ... | [INFO] [stdout] 14 | | StorageKind(Local) [INFO] [stdout] 15 | | )] [INFO] [stdout] | |__^ method cannot be called on `StorageData<&'static str, UserInfo>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | --------------- doesn't satisfy `UserInfo: serde::de::Deserialize<'de>` or `UserInfo: serde::ser::Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UserInfo: serde::ser::Serialize` [INFO] [stdout] `UserInfo: serde::de::Deserialize<'de>` [INFO] [stdout] note: the trait `serde::ser::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `::storage_data::define_storage` which comes from the expansion of the attribute macro `WebStorage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserInfo: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 31 | user_info: UserInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `UserInfo` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `UserInfo` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 111 others [INFO] [stdout] = note: required for `StorageData<&'static str, UserInfo>` to implement `Debug` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&StorageData<&'static str, UserInfo>` to implement `Debug` [INFO] [stdout] = note: required for the cast from `&&StorageData<&'static str, UserInfo>` to `&dyn Debug` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> UserInfo: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 31 | user_info: UserInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `UserInfo` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 34 | struct UserInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `UserInfo` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `StorageData<&'static str, UserInfo>` to implement `Debug` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&StorageData<&'static str, UserInfo>` to implement `Debug` [INFO] [stdout] = note: required for the cast from `&&StorageData<&'static str, UserInfo>` to `&dyn Debug` [INFO] [stdout] [INFO] [stdout] error[E0277]: `UserInfo` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 31 | user_info: UserInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `UserInfo` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `UserInfo` or manually `impl Debug for UserInfo` [INFO] [stdout] = help: the trait `Debug` is implemented for `StorageData` [INFO] [stdout] help: consider annotating `UserInfo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Debug)] [INFO] [stdout] 35 | struct UserInfo{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc9sDZs8/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstorage_data-3cb82fd5b0052041,libserde_json-d662cbab612dbeee,libmemchr-29d6b2bc96b2b183,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libserde-a6e8966c34f813d1,libweb_sys-70a50840a936ddd0,libjs_sys-aac717df4a31b529,libwasm_bindgen-c92dea0a934e3d5c,libcfg_if-33ef6c02a07f9fec,libonce_cell-faf2aea55ff4b25e,libportable_atomic-8e58cfed5ff0131a,libcritical_section-7ae85dd10a4c8596}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc9sDZs8/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestl34JvZ/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: _critical_section_1_0_acquire [INFO] [stdout] >>> referenced by rust_out.d819ce82e76d1f49-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctestl34JvZ/rust_out.rust_out.d819ce82e76d1f49-cgu.0.rcgu.o:(critical_section::with::h2b67f2813d877e25) [INFO] [stdout] >>> referenced by rust_out.d819ce82e76d1f49-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctestl34JvZ/rust_out.rust_out.d819ce82e76d1f49-cgu.0.rcgu.o:(critical_section::with::h2eda10d16548939a) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: _critical_section_1_0_release [INFO] [stdout] >>> referenced by rust_out.d819ce82e76d1f49-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctestl34JvZ/rust_out.rust_out.d819ce82e76d1f49-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h5817e5ea4ce786f1) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2ba5e5bcc3b80b82dc368f4c5c7462044a9bd5ab736ffe7359521f009497b3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba5e5bcc3b80b82dc368f4c5c7462044a9bd5ab736ffe7359521f009497b3b4", kill_on_drop: false }` [INFO] [stdout] 2ba5e5bcc3b80b82dc368f4c5c7462044a9bd5ab736ffe7359521f009497b3b4