[INFO] fetching crate stagiaire 0.3.0... [INFO] building stagiaire-0.3.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate stagiaire 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate stagiaire 0.3.0 [INFO] finished tweaking crates.io crate stagiaire 0.3.0 [INFO] tweaked toml for crates.io crate stagiaire 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stagiaire 0.3.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f7f22e4a4ef268b4bc618486787226f0ab4a1b30249916aa4ed0318fea1c46 [INFO] running `Command { std: "docker" "start" "-a" "d1f7f22e4a4ef268b4bc618486787226f0ab4a1b30249916aa4ed0318fea1c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f7f22e4a4ef268b4bc618486787226f0ab4a1b30249916aa4ed0318fea1c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f7f22e4a4ef268b4bc618486787226f0ab4a1b30249916aa4ed0318fea1c46", kill_on_drop: false }` [INFO] [stdout] d1f7f22e4a4ef268b4bc618486787226f0ab4a1b30249916aa4ed0318fea1c46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 143ce253a0f2ea755e4fc396181f9adb388790aa0cb309d3876dc959fc368d6a [INFO] running `Command { std: "docker" "start" "-a" "143ce253a0f2ea755e4fc396181f9adb388790aa0cb309d3876dc959fc368d6a", kill_on_drop: false }` [INFO] [stderr] Compiling stagiaire v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "143ce253a0f2ea755e4fc396181f9adb388790aa0cb309d3876dc959fc368d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143ce253a0f2ea755e4fc396181f9adb388790aa0cb309d3876dc959fc368d6a", kill_on_drop: false }` [INFO] [stdout] 143ce253a0f2ea755e4fc396181f9adb388790aa0cb309d3876dc959fc368d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b53842bd23f4666d11364a00ac14eac165190543d1153dc88e45a7c6978566a [INFO] running `Command { std: "docker" "start" "-a" "8b53842bd23f4666d11364a00ac14eac165190543d1153dc88e45a7c6978566a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling stagiaire v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> tests/api_test.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> tests/api_test.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "8b53842bd23f4666d11364a00ac14eac165190543d1153dc88e45a7c6978566a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b53842bd23f4666d11364a00ac14eac165190543d1153dc88e45a7c6978566a", kill_on_drop: false }` [INFO] [stdout] 8b53842bd23f4666d11364a00ac14eac165190543d1153dc88e45a7c6978566a