[INFO] fetching crate serdeval 0.1.0... [INFO] testing serdeval-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate serdeval 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate serdeval 0.1.0 [INFO] finished tweaking crates.io crate serdeval 0.1.0 [INFO] tweaked toml for crates.io crate serdeval 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serdeval 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] crate crates.io crate serdeval 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 74e7dcc5c60e16289a25aa98dfcb0af982d0f04a394608017ec93a981a02d2ae [INFO] running `Command { std: "docker" "start" "-a" "74e7dcc5c60e16289a25aa98dfcb0af982d0f04a394608017ec93a981a02d2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74e7dcc5c60e16289a25aa98dfcb0af982d0f04a394608017ec93a981a02d2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e7dcc5c60e16289a25aa98dfcb0af982d0f04a394608017ec93a981a02d2ae", kill_on_drop: false }` [INFO] [stdout] 74e7dcc5c60e16289a25aa98dfcb0af982d0f04a394608017ec93a981a02d2ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e315c607ee1aeb156330c1891681192b71d61f49cf723fc00e3d60edddffb9ed [INFO] running `Command { std: "docker" "start" "-a" "e315c607ee1aeb156330c1891681192b71d61f49cf723fc00e3d60edddffb9ed", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serdeval v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.53s [INFO] running `Command { std: "docker" "inspect" "e315c607ee1aeb156330c1891681192b71d61f49cf723fc00e3d60edddffb9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e315c607ee1aeb156330c1891681192b71d61f49cf723fc00e3d60edddffb9ed", kill_on_drop: false }` [INFO] [stdout] e315c607ee1aeb156330c1891681192b71d61f49cf723fc00e3d60edddffb9ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6cdf6c70fea943e33147dca85d1bf52b34ad299a1ad6aaf2c62596606f63fa16 [INFO] running `Command { std: "docker" "start" "-a" "6cdf6c70fea943e33147dca85d1bf52b34ad299a1ad6aaf2c62596606f63fa16", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling serdeval v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "6cdf6c70fea943e33147dca85d1bf52b34ad299a1ad6aaf2c62596606f63fa16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdf6c70fea943e33147dca85d1bf52b34ad299a1ad6aaf2c62596606f63fa16", kill_on_drop: false }` [INFO] [stdout] 6cdf6c70fea943e33147dca85d1bf52b34ad299a1ad6aaf2c62596606f63fa16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0ce26ad3a298c394851fc21cd333a9b174eae21b987a4dfe345042614b9f9559 [INFO] running `Command { std: "docker" "start" "-a" "0ce26ad3a298c394851fc21cd333a9b174eae21b987a4dfe345042614b9f9559", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serdeval-4282989f07bd0c8a) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::deserialize_map ... ok [INFO] [stdout] test test::deserialize_any ... ok [INFO] [stdout] test test::deserialize_seq ... ok [INFO] [stdout] test test::deserialize_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests serdeval [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Any (line 146) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Any (line 146) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Map` in this scope [INFO] [stdout] --> src/lib.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 5 | let _: Map = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 + use serdeval::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Str` in this scope [INFO] [stdout] --> src/lib.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 5 | let _: Map = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 5 - let _: Map = serde_json::from_str(&json).unwrap(); [INFO] [stdout] 5 + let _: Map = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use serdeval::Str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Any` in this scope [INFO] [stdout] --> src/lib.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 5 | let _: Map = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] 2 + use serdeval::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 - use std::io::File; [INFO] [stdout] 4 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwarp` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 11 | let _: Seq> = serde_json::from_reader(json).unwarp(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - let _: Seq> = serde_json::from_reader(json).unwarp(); [INFO] [stdout] 11 + let _: Seq> = serde_json::from_reader(json).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/lib.rs - Any (line 146) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0ce26ad3a298c394851fc21cd333a9b174eae21b987a4dfe345042614b9f9559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce26ad3a298c394851fc21cd333a9b174eae21b987a4dfe345042614b9f9559", kill_on_drop: false }` [INFO] [stdout] 0ce26ad3a298c394851fc21cd333a9b174eae21b987a4dfe345042614b9f9559