[INFO] fetching crate serde_json_lenient 0.1.4... [INFO] testing serde_json_lenient-0.1.4 against 1.60.0 for beta-1.61-1 [INFO] extracting crate serde_json_lenient 0.1.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate serde_json_lenient 0.1.4 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_json_lenient 0.1.4 [INFO] finished tweaking crates.io crate serde_json_lenient 0.1.4 [INFO] tweaked toml for crates.io crate serde_json_lenient 0.1.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9a51448497bf9c78f65169d08728fbcd4cf9ffe917f602a3c8ad500529bea3bf [INFO] running `Command { std: "docker" "start" "-a" "9a51448497bf9c78f65169d08728fbcd4cf9ffe917f602a3c8ad500529bea3bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a51448497bf9c78f65169d08728fbcd4cf9ffe917f602a3c8ad500529bea3bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a51448497bf9c78f65169d08728fbcd4cf9ffe917f602a3c8ad500529bea3bf", kill_on_drop: false }` [INFO] [stdout] 9a51448497bf9c78f65169d08728fbcd4cf9ffe917f602a3c8ad500529bea3bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a68e28e2f086e90b25cffe6084e6dd467638fcdbb4ee8f1932048bb79d866764 [INFO] running `Command { std: "docker" "start" "-a" "a68e28e2f086e90b25cffe6084e6dd467638fcdbb4ee8f1932048bb79d866764", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json_lenient v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "a68e28e2f086e90b25cffe6084e6dd467638fcdbb4ee8f1932048bb79d866764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68e28e2f086e90b25cffe6084e6dd467638fcdbb4ee8f1932048bb79d866764", kill_on_drop: false }` [INFO] [stdout] a68e28e2f086e90b25cffe6084e6dd467638fcdbb4ee8f1932048bb79d866764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] adc6a2ace227c4ed2476bb5f2cd277e568f7741cadda7e282009e00148ee7238 [INFO] running `Command { std: "docker" "start" "-a" "adc6a2ace227c4ed2476bb5f2cd277e568f7741cadda7e282009e00148ee7238", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling psm v0.1.18 [INFO] [stderr] Compiling stacker v0.1.14 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling automod v1.0.2 [INFO] [stderr] Compiling serde_stacker v0.1.4 [INFO] [stderr] Compiling serde_json_lenient v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.62s [INFO] running `Command { std: "docker" "inspect" "adc6a2ace227c4ed2476bb5f2cd277e568f7741cadda7e282009e00148ee7238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc6a2ace227c4ed2476bb5f2cd277e568f7741cadda7e282009e00148ee7238", kill_on_drop: false }` [INFO] [stdout] adc6a2ace227c4ed2476bb5f2cd277e568f7741cadda7e282009e00148ee7238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0795da75f76e70e540a42bed4b269b8b9bdcea20c6fab8b1b618d6bda9182c26 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0795da75f76e70e540a42bed4b269b8b9bdcea20c6fab8b1b618d6bda9182c26", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/serde_json_lenient-cb865de1c8e6fe6d) [INFO] [stdout] [INFO] [stderr] Doc-tests serde_json_lenient [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] [stdout] [INFO] [stdout] running 99 tests [INFO] [stdout] test src/lib.rs - (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - (line 252) ... FAILED [INFO] [stdout] test src/de.rs - de::from_reader (line 2570) ... FAILED [INFO] [stdout] test src/de.rs - de::from_slice (line 2659) ... FAILED [INFO] [stdout] test src/de.rs - de::from_str (line 2710) ... FAILED [INFO] [stdout] test src/de.rs - de::from_reader (line 2606) ... FAILED [INFO] [stdout] test src/error.rs - error::io::Error::from (line 137) ... ok [INFO] [stdout] test src/lib.rs - (line 52) ... ok [INFO] [stdout] test src/de.rs - de::StreamDeserializer (line 2370) ... ok [INFO] [stdout] test src/de.rs - de::Deserializer::set_ignore_trailing_commas (line 223) ... ok [INFO] [stdout] test src/lib.rs - (line 72) ... ok [INFO] [stdout] test src/lib.rs - (line 221) ... ok [INFO] [stdout] test src/de.rs - de::&'amutDeserializer::deserialize_bytes (line 1676) ... ok [INFO] [stdout] test src/de.rs - de::&'amutDeserializer::deserialize_bytes (line 1655) ... ok [INFO] [stdout] test src/de.rs - de::StreamDeserializer::byte_offset (line 2420) ... ok [INFO] [stdout] test src/map.rs - map::Map (line 313) ... ok [INFO] [stdout] test src/lib.rs - (line 192) ... ok [INFO] [stdout] test src/macros.rs - macros::json (line 42) ... ok [INFO] [stdout] test src/macros.rs - macros::json (line 25) ... ok [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with (line 529) ... ok [INFO] [stdout] test src/macros.rs - macros::json (line 3) ... ok [INFO] [stdout] test src/map.rs - map::Entry::key (line 492) ... ok [INFO] [stdout] test src/map.rs - map::Entry::and_modify (line 552) ... ok [INFO] [stdout] test src/map.rs - map::Entry::or_insert (line 508) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get (line 659) ... ok [INFO] [stdout] test src/map.rs - map::Map (line 285) ... ok [INFO] [stdout] test src/map.rs - map::VacantEntry::insert (line 610) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntry::into_mut (line 709) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntry::key (line 635) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get_mut (line 683) ... ok [INFO] [stdout] test src/map.rs - map::VacantEntry::key (line 588) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntry::remove (line 761) ... ok [INFO] [stdout] test src/number.rs - number::Number::as_f64 (line 228) ... ok [INFO] [stdout] test src/map.rs - map::OccupiedEntry::insert (line 736) ... ok [INFO] [stdout] test src/number.rs - number::Number::from_f64 (line 252) ... ok [INFO] [stdout] test src/number.rs - number::Number::is_f64 (line 143) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 103) ... ok [INFO] [stdout] test src/number.rs - number::Number::as_u64 (line 206) ... ok [INFO] [stdout] test src/number.rs - number::Number::is_i64 (line 80) ... ok [INFO] [stdout] test src/number.rs - number::Number::as_i64 (line 175) ... ok [INFO] [stdout] test src/number.rs - number::Number::is_u64 (line 111) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 119) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 127) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 259) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 160) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 71) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 177) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 144) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 39) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 193) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 55) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 209) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value (line 847) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 216) ... ok [INFO] [stdout] test src/value/mod.rs - value (line 37) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::Array (line 150) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 223) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 239) ... ok [INFO] [stdout] test src/value/index.rs - value::index::Index (line 21) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::Null (line 114) ... ok [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 87) ... ok [INFO] [stdout] test src/value/index.rs - value::index::Value::index_mut (line 233) ... ok [INFO] [stdout] test src/value/mod.rs - value (line 61) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::String (line 141) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::Bool (line 123) ... ok [INFO] [stdout] test src/value/index.rs - value::index::Value::index (line 194) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::Number (line 132) ... ok [INFO] [stdout] test src/value/mod.rs - value (line 8) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_i64 (line 596) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_array (line 411) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_f64 (line 635) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::Object (line 165) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_null (line 711) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_str (line 469) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_bool (line 673) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::get_mut (line 315) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_u64 (line 616) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_object (line 352) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_f64 (line 575) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_array_mut (line 432) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::fmt (line 197) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::as_object_mut (line 373) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_boolean (line 656) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::get (line 289) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_array (line 394) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_number (line 498) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::get (line 273) ... ok [INFO] [stdout] test src/value/mod.rs - value::from_value (line 949) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::to_value (line 887) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_i64 (line 521) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_null (line 695) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_object (line 334) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_string (line 452) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::is_u64 (line 547) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::pointer (line 742) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::pointer_mut (line 787) ... ok [INFO] [stdout] test src/value/ser.rs - value::ser::Serializer (line 45) ... ok [INFO] [stdout] test src/value/mod.rs - value::Value::take (line 829) ... ok [INFO] [stdout] test src/value/mod.rs - value::to_value (line 925) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 130) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 28 | let p: Person = serde_json_lenient::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Person` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json_lenient::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2743:8 [INFO] [stdout] | [INFO] [stdout] 2743 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json_lenient::from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 252) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Address: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:270:43 [INFO] [stdout] | [INFO] [stdout] 20 | let j = serde_json_lenient::to_string(&address)?; [INFO] [stdout] | ----------------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `Address` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json_lenient::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/ser.rs:2216:17 [INFO] [stdout] | [INFO] [stdout] 2216 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serde_json_lenient::to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_reader (line 2570) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2578:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2571:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> User: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/de.rs:2590:13 [INFO] [stdout] | [INFO] [stdout] 22 | let u = serde_json_lenient::from_reader(reader)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `User` [INFO] [stdout] note: required by a bound in `from_reader` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2650:8 [INFO] [stdout] | [INFO] [stdout] 2650 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_reader` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_slice (line 2659) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2662:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2660:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/de.rs:2676:19 [INFO] [stdout] | [INFO] [stdout] 19 | let u: User = serde_json_lenient::from_slice(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2692:8 [INFO] [stdout] | [INFO] [stdout] 2692 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_str (line 2710) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2713:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2711:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/de.rs:2727:19 [INFO] [stdout] | [INFO] [stdout] 19 | let u: User = serde_json_lenient::from_str(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json_lenient::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2743:8 [INFO] [stdout] | [INFO] [stdout] 2743 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json_lenient::from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_reader (line 2606) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2612:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2607:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `User` in the current scope [INFO] [stdout] --> src/de.rs:2620:19 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ----------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 16 | let u = User::deserialize(&mut de)?; [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value (line 847) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/value/mod.rs:851:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/value/mod.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/value/mod.rs:854:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Settings: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/value/mod.rs:860:19 [INFO] [stdout] | [INFO] [stdout] 16 | let s: Settings = serde_json_lenient::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Settings` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json_lenient::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2743:8 [INFO] [stdout] | [INFO] [stdout] 2743 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json_lenient::from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::from_value (line 949) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/value/mod.rs:953:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/value/mod.rs:950:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> User: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/value/mod.rs:966:19 [INFO] [stdout] | [INFO] [stdout] 19 | let u: User = serde_json_lenient::from_value(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `User` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:982:8 [INFO] [stdout] | [INFO] [stdout] 982 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::to_value (line 887) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/value/mod.rs:893:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/value/mod.rs:888:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value/mod.rs:899:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] 15 + fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Serialize` is not satisfied [INFO] [stdout] --> src/value/mod.rs:911:42 [INFO] [stdout] | [INFO] [stdout] 27 | let v = serde_json_lenient::to_value(u).unwrap(); [INFO] [stdout] | ---------------------------- ^ the trait `Serialize` is not implemented for `User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:940:8 [INFO] [stdout] | [INFO] [stdout] 940 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::from_reader (line 2570) [INFO] [stdout] src/de.rs - de::from_reader (line 2606) [INFO] [stdout] src/de.rs - de::from_slice (line 2659) [INFO] [stdout] src/de.rs - de::from_str (line 2710) [INFO] [stdout] src/lib.rs - (line 130) [INFO] [stdout] src/lib.rs - (line 252) [INFO] [stdout] src/value/mod.rs - value::Value (line 847) [INFO] [stdout] src/value/mod.rs - value::from_value (line 949) [INFO] [stdout] src/value/mod.rs - value::to_value (line 887) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 90 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 20.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0795da75f76e70e540a42bed4b269b8b9bdcea20c6fab8b1b618d6bda9182c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0795da75f76e70e540a42bed4b269b8b9bdcea20c6fab8b1b618d6bda9182c26", kill_on_drop: false }` [INFO] [stdout] 0795da75f76e70e540a42bed4b269b8b9bdcea20c6fab8b1b618d6bda9182c26