[INFO] fetching crate storage_data 1.0.0... [INFO] testing storage_data-1.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate storage_data 1.0.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate storage_data 1.0.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 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_web_storage v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 475520dec1a53da80bff72dd487747c0536bceb3084316ebba670c1bb843778c [INFO] running `Command { std: "docker" "start" "-a" "475520dec1a53da80bff72dd487747c0536bceb3084316ebba670c1bb843778c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "475520dec1a53da80bff72dd487747c0536bceb3084316ebba670c1bb843778c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475520dec1a53da80bff72dd487747c0536bceb3084316ebba670c1bb843778c", kill_on_drop: false }` [INFO] [stdout] 475520dec1a53da80bff72dd487747c0536bceb3084316ebba670c1bb843778c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 51967729c1f92dcd45509bc426975e736b55d27bcb58ef2e19972847f97fac2c [INFO] running `Command { std: "docker" "start" "-a" "51967729c1f92dcd45509bc426975e736b55d27bcb58ef2e19972847f97fac2c", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling once_cell v1.21.3 [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 22.03s [INFO] running `Command { std: "docker" "inspect" "51967729c1f92dcd45509bc426975e736b55d27bcb58ef2e19972847f97fac2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51967729c1f92dcd45509bc426975e736b55d27bcb58ef2e19972847f97fac2c", kill_on_drop: false }` [INFO] [stdout] 51967729c1f92dcd45509bc426975e736b55d27bcb58ef2e19972847f97fac2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7aa253264c5b7c151ad03e8374006bef4ef2985ff72e09d91e3573dea31f578e [INFO] running `Command { std: "docker" "start" "-a" "7aa253264c5b7c151ad03e8374006bef4ef2985ff72e09d91e3573dea31f578e", 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.45s [INFO] running `Command { std: "docker" "inspect" "7aa253264c5b7c151ad03e8374006bef4ef2985ff72e09d91e3573dea31f578e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa253264c5b7c151ad03e8374006bef4ef2985ff72e09d91e3573dea31f578e", kill_on_drop: false }` [INFO] [stdout] 7aa253264c5b7c151ad03e8374006bef4ef2985ff72e09d91e3573dea31f578e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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", kill_on_drop: false }` [INFO] [stdout] f2a60ba773955d7bbee351a9b71042d27bd6ac2abc153d48fe019ef92bdf148d [INFO] running `Command { std: "docker" "start" "-a" "f2a60ba773955d7bbee351a9b71042d27bd6ac2abc153d48fe019ef92bdf148d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [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] [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/rustcpsEhNE/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/rustcpsEhNE/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/rustdoctest2T1kM2/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.fa70c727b3af272e-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctest2T1kM2/rust_out.rust_out.fa70c727b3af272e-cgu.0.rcgu.o:(critical_section::with::h0de1c3163f949e5e) [INFO] [stdout] >>> referenced by rust_out.fa70c727b3af272e-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctest2T1kM2/rust_out.rust_out.fa70c727b3af272e-cgu.0.rcgu.o:(critical_section::with::h6214c65c6c266573) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: _critical_section_1_0_release [INFO] [stdout] >>> referenced by rust_out.fa70c727b3af272e-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctest2T1kM2/rust_out.rust_out.fa70c727b3af272e-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h0384754a587ce874) [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.68s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f2a60ba773955d7bbee351a9b71042d27bd6ac2abc153d48fe019ef92bdf148d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a60ba773955d7bbee351a9b71042d27bd6ac2abc153d48fe019ef92bdf148d", kill_on_drop: false }` [INFO] [stdout] f2a60ba773955d7bbee351a9b71042d27bd6ac2abc153d48fe019ef92bdf148d