[INFO] fetching crate recap 0.1.2... [INFO] testing recap-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate recap 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate recap 0.1.2 [INFO] finished tweaking crates.io crate recap 0.1.2 [INFO] tweaked toml for crates.io crate recap 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate recap 0.1.2 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] crate crates.io crate recap 0.1.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded recap-derive v0.1.2 [INFO] [stderr] Downloaded quote v1.0.13 [INFO] [stderr] Downloaded syn v1.0.84 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44eeb59788cffef8c193e7956d9952f291f3c69d4defd21fe909594e715b5e53 [INFO] running `Command { std: "docker" "start" "-a" "44eeb59788cffef8c193e7956d9952f291f3c69d4defd21fe909594e715b5e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44eeb59788cffef8c193e7956d9952f291f3c69d4defd21fe909594e715b5e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44eeb59788cffef8c193e7956d9952f291f3c69d4defd21fe909594e715b5e53", kill_on_drop: false }` [INFO] [stdout] 44eeb59788cffef8c193e7956d9952f291f3c69d4defd21fe909594e715b5e53 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fbf4c977e2cf299f22a6d750b75b2c0e1e0678ad0ed8da13d4eae2940c9b4cb [INFO] running `Command { std: "docker" "start" "-a" "6fbf4c977e2cf299f22a6d750b75b2c0e1e0678ad0ed8da13d4eae2940c9b4cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling quote v1.0.13 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling recap-derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling recap v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.29s [INFO] running `Command { std: "docker" "inspect" "6fbf4c977e2cf299f22a6d750b75b2c0e1e0678ad0ed8da13d4eae2940c9b4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbf4c977e2cf299f22a6d750b75b2c0e1e0678ad0ed8da13d4eae2940c9b4cb", kill_on_drop: false }` [INFO] [stdout] 6fbf4c977e2cf299f22a6d750b75b2c0e1e0678ad0ed8da13d4eae2940c9b4cb [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f22744fb0f7afed3f1d3e8999e919b8d719caccd93e4527dbef53eb224868226 [INFO] running `Command { std: "docker" "start" "-a" "f22744fb0f7afed3f1d3e8999e919b8d719caccd93e4527dbef53eb224868226", kill_on_drop: false }` [INFO] [stderr] Compiling recap v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/log.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_LogEntry` [INFO] [stdout] ... [INFO] [stdout] 14 | struct LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/log.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `FromStr` is not local [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_LogEntry` [INFO] [stdout] ... [INFO] [stdout] 14 | struct LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/log.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_LogEntry` [INFO] [stdout] ... [INFO] [stdout] 14 | struct LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "f22744fb0f7afed3f1d3e8999e919b8d719caccd93e4527dbef53eb224868226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22744fb0f7afed3f1d3e8999e919b8d719caccd93e4527dbef53eb224868226", kill_on_drop: false }` [INFO] [stdout] f22744fb0f7afed3f1d3e8999e919b8d719caccd93e4527dbef53eb224868226 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64ebde580cb43c2d7ff01fd63ca3d73229f9ef9ab87a8c1f610eca973781c3ff [INFO] running `Command { std: "docker" "start" "-a" "64ebde580cb43c2d7ff01fd63ca3d73229f9ef9ab87a8c1f610eca973781c3ff", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/log.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_LogEntry` [INFO] [stderr] ... [INFO] [stderr] 14 | struct LogEntry { [INFO] [stderr] | -------- `LogEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/log.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `FromStr` is not local [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_LogEntry` [INFO] [stderr] ... [INFO] [stderr] 14 | struct LogEntry { [INFO] [stderr] | -------- `LogEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/log.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Deserialize, Recap)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this constant `RECAP_IMPL_FOR_LogEntry` [INFO] [stderr] ... [INFO] [stderr] 14 | struct LogEntry { [INFO] [stderr] | -------- `LogEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Recap` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Recap` may come from an old version of the `recap_derive` crate, try updating your dependency with `cargo update -p recap_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Recap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `recap` (example "log") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/recap-4065e09ed449cf92) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::deserializes_matching_captures_optional ... ok [INFO] [stdout] test tests::deserializes_matching_captures ... ok [INFO] [stdout] test tests::fails_with_unmatched_captures ... ok [INFO] [stdout] test tests::deserializes_zero_copy ... ok [INFO] [stdout] test tests::fails_without_captures ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests recap [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 78) ... ok [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] test src/lib.rs - (line 44) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64ebde580cb43c2d7ff01fd63ca3d73229f9ef9ab87a8c1f610eca973781c3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ebde580cb43c2d7ff01fd63ca3d73229f9ef9ab87a8c1f610eca973781c3ff", kill_on_drop: false }` [INFO] [stdout] 64ebde580cb43c2d7ff01fd63ca3d73229f9ef9ab87a8c1f610eca973781c3ff