[INFO] fetching crate esde 1.0.0... [INFO] testing esde-1.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate esde 1.0.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate esde 1.0.0 [INFO] finished tweaking crates.io crate esde 1.0.0 [INFO] tweaked toml for crates.io crate esde 1.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate esde 1.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded esde_derive v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9579d06221f81d39bcd58a1707596395a67d020b24902a678ccc13d2916113 [INFO] running `Command { std: "docker" "start" "-a" "6b9579d06221f81d39bcd58a1707596395a67d020b24902a678ccc13d2916113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9579d06221f81d39bcd58a1707596395a67d020b24902a678ccc13d2916113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9579d06221f81d39bcd58a1707596395a67d020b24902a678ccc13d2916113", kill_on_drop: false }` [INFO] [stdout] 6b9579d06221f81d39bcd58a1707596395a67d020b24902a678ccc13d2916113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44f29d1d6baebac6bfab5534a6c5b7e7ea009e4f4ef2abef3abe0587787bef4c [INFO] running `Command { std: "docker" "start" "-a" "44f29d1d6baebac6bfab5534a6c5b7e7ea009e4f4ef2abef3abe0587787bef4c", kill_on_drop: false }` [INFO] [stderr] Compiling esde_derive v1.0.0 [INFO] [stderr] Compiling esde v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "44f29d1d6baebac6bfab5534a6c5b7e7ea009e4f4ef2abef3abe0587787bef4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f29d1d6baebac6bfab5534a6c5b7e7ea009e4f4ef2abef3abe0587787bef4c", kill_on_drop: false }` [INFO] [stdout] 44f29d1d6baebac6bfab5534a6c5b7e7ea009e4f4ef2abef3abe0587787bef4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ce0f010714a3e5192602c7ed770aecf1a550088baef559d27bdfce04126a1d2 [INFO] running `Command { std: "docker" "start" "-a" "9ce0f010714a3e5192602c7ed770aecf1a550088baef559d27bdfce04126a1d2", kill_on_drop: false }` [INFO] [stderr] Compiling esde v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "9ce0f010714a3e5192602c7ed770aecf1a550088baef559d27bdfce04126a1d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ce0f010714a3e5192602c7ed770aecf1a550088baef559d27bdfce04126a1d2", kill_on_drop: false }` [INFO] [stdout] 9ce0f010714a3e5192602c7ed770aecf1a550088baef559d27bdfce04126a1d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 339fd745fb640bb814dc539d3f364723ffd0072d8c09654979cb77dcdee72f65 [INFO] running `Command { std: "docker" "start" "-a" "339fd745fb640bb814dc539d3f364723ffd0072d8c09654979cb77dcdee72f65", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/esde-76a9c4b4c8134226) [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 esde [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/de.rs - de::Error::make_parse (line 45) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/de.rs - de::Error::make_parse (line 45) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `receiver` in this scope [INFO] [stdout] --> src/de.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 3 | let buffer = receiver.auto()?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/de.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 4 | let str = String::from_utf8(buffer).map_err(Error::make_parse)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use esde::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 + use esde_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use esde::Deserialize; [INFO] [stdout] | [INFO] [stdout] 2 + use esde_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use esde::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 + use esde_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use esde::Deserialize; [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 2 + use esde_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use esde::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 + use esde_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use esde::Deserialize; [INFO] [stdout] | [INFO] [stdout] 2 + use esde_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/lib.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 38 | let mut file = File::create(FILE)?; [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/lib.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 44 | let mut file = File::open(FILE)?; [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/lib.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 45 | let person2: Struct = file.auto_de().map_err(Error::unwrap_sender)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::Error::make_parse (line 45) [INFO] [stdout] src/lib.rs - (line 38) [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] running `Command { std: "docker" "inspect" "339fd745fb640bb814dc539d3f364723ffd0072d8c09654979cb77dcdee72f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339fd745fb640bb814dc539d3f364723ffd0072d8c09654979cb77dcdee72f65", kill_on_drop: false }` [INFO] [stdout] 339fd745fb640bb814dc539d3f364723ffd0072d8c09654979cb77dcdee72f65