[INFO] fetching crate serde-value-utils 0.1.0... [INFO] testing serde-value-utils-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate serde-value-utils 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate serde-value-utils 0.1.0 [INFO] finished tweaking crates.io crate serde-value-utils 0.1.0 [INFO] tweaked toml for crates.io crate serde-value-utils 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-value-utils 0.1.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding serde-value v0.6.0 (available: v0.7.0) [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] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f584c2771ca4880935d5b51f5a1294796f5e6aadefe08ba88a1025c6412e34f4 [INFO] running `Command { std: "docker" "start" "-a" "f584c2771ca4880935d5b51f5a1294796f5e6aadefe08ba88a1025c6412e34f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f584c2771ca4880935d5b51f5a1294796f5e6aadefe08ba88a1025c6412e34f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f584c2771ca4880935d5b51f5a1294796f5e6aadefe08ba88a1025c6412e34f4", kill_on_drop: false }` [INFO] [stdout] f584c2771ca4880935d5b51f5a1294796f5e6aadefe08ba88a1025c6412e34f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 26561ed6864867ad3dd0c0d1ba6cd81c81bf7b36e6576f42acc09bc82baac7eb [INFO] running `Command { std: "docker" "start" "-a" "26561ed6864867ad3dd0c0d1ba6cd81c81bf7b36e6576f42acc09bc82baac7eb", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde-value-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "26561ed6864867ad3dd0c0d1ba6cd81c81bf7b36e6576f42acc09bc82baac7eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26561ed6864867ad3dd0c0d1ba6cd81c81bf7b36e6576f42acc09bc82baac7eb", kill_on_drop: false }` [INFO] [stdout] 26561ed6864867ad3dd0c0d1ba6cd81c81bf7b36e6576f42acc09bc82baac7eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2ac58067c9cee37f034cb7e6f9b18401c83f68cf876ae6b97d3c933e2cc725bd [INFO] running `Command { std: "docker" "start" "-a" "2ac58067c9cee37f034cb7e6f9b18401c83f68cf876ae6b97d3c933e2cc725bd", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling serde-value-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "2ac58067c9cee37f034cb7e6f9b18401c83f68cf876ae6b97d3c933e2cc725bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac58067c9cee37f034cb7e6f9b18401c83f68cf876ae6b97d3c933e2cc725bd", kill_on_drop: false }` [INFO] [stdout] 2ac58067c9cee37f034cb7e6f9b18401c83f68cf876ae6b97d3c933e2cc725bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 64fc3780ab7651e7e05e206a64dcad301d30ac35703066e6377ccd124c31caf6 [INFO] running `Command { std: "docker" "start" "-a" "64fc3780ab7651e7e05e206a64dcad301d30ac35703066e6377ccd124c31caf6", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_value_utils-7d66e069b1d92572) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests serde_value_utils [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 6 tests [INFO] [stdout] test src/lib.rs - (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - (line 102) ... FAILED [INFO] [stdout] test src/detect.rs - detect::try_detect_type (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... ok [INFO] [stdout] test src/flatten.rs - flatten::to_flatten_maptree (line 94) ... FAILED [INFO] [stdout] test src/detect.rs - detect::try_detect_type (line 23) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 29) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_json` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:50:69 [INFO] [stdout] | [INFO] [stdout] 22 | let ser = serde_value_utils::to_flatten_maptree("_", Some("_"), &foo).unwrap(); [INFO] [stdout] | ------------------------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `Foo` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Foo` 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_core::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 127 others [INFO] [stdout] note: required by a bound in `to_flatten_maptree` [INFO] [stdout] --> /opt/rustwide/workdir/src/flatten.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn to_flatten_maptree(key_separator: &str, prefix: Option<&str>, src: &T) -> Result src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 3 | F64(6.5) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use serde_value::Value::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/detect.rs - detect::try_detect_type (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> src/detect.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 3 | F64(6.5) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use serde_value::Value::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/flatten.rs - flatten::to_flatten_maptree (line 94) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/flatten.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_json` [INFO] [stdout] --> src/flatten.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/flatten.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/flatten.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: serde::Serialize` is not satisfied [INFO] [stdout] --> src/flatten.rs:115:69 [INFO] [stdout] | [INFO] [stdout] 22 | let ser = serde_value_utils::to_flatten_maptree("_", Some("_"), &foo).unwrap(); [INFO] [stdout] | ------------------------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `Foo` [INFO] [stdout] --> src/flatten.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Foo` 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_core::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 127 others [INFO] [stdout] note: required by a bound in `to_flatten_maptree` [INFO] [stdout] --> /opt/rustwide/workdir/src/flatten.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn to_flatten_maptree(key_separator: &str, prefix: Option<&str>, src: &T) -> Result