[INFO] fetching crate recap 0.1.2... [INFO] testing recap-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate recap 0.1.2 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate recap 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5d82adae50388394c7feb7ae3e3cb7673af823df50e4312c126c62fbf5a62aa [INFO] running `Command { std: "docker" "start" "-a" "f5d82adae50388394c7feb7ae3e3cb7673af823df50e4312c126c62fbf5a62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5d82adae50388394c7feb7ae3e3cb7673af823df50e4312c126c62fbf5a62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d82adae50388394c7feb7ae3e3cb7673af823df50e4312c126c62fbf5a62aa", kill_on_drop: false }` [INFO] [stdout] f5d82adae50388394c7feb7ae3e3cb7673af823df50e4312c126c62fbf5a62aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ae118ba0f2a0fdaaf4491042d02f714b7da2dbf50980ef5add050620367bf95 [INFO] running `Command { std: "docker" "start" "-a" "9ae118ba0f2a0fdaaf4491042d02f714b7da2dbf50980ef5add050620367bf95", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling quote v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling recap-derive v0.1.2 [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 14.99s [INFO] running `Command { std: "docker" "inspect" "9ae118ba0f2a0fdaaf4491042d02f714b7da2dbf50980ef5add050620367bf95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae118ba0f2a0fdaaf4491042d02f714b7da2dbf50980ef5add050620367bf95", kill_on_drop: false }` [INFO] [stdout] 9ae118ba0f2a0fdaaf4491042d02f714b7da2dbf50980ef5add050620367bf95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8c64e56fcfa9192fad1f7b67d8105ac3f1f90c506e4a68b35e4c31d28aa3f66 [INFO] running `Command { std: "docker" "start" "-a" "a8c64e56fcfa9192fad1f7b67d8105ac3f1f90c506e4a68b35e4c31d28aa3f66", 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 1.09s [INFO] running `Command { std: "docker" "inspect" "a8c64e56fcfa9192fad1f7b67d8105ac3f1f90c506e4a68b35e4c31d28aa3f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c64e56fcfa9192fad1f7b67d8105ac3f1f90c506e4a68b35e4c31d28aa3f66", kill_on_drop: false }` [INFO] [stdout] a8c64e56fcfa9192fad1f7b67d8105ac3f1f90c506e4a68b35e4c31d28aa3f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6bc644355a412da3517c0b852e2d0daaf946db3c4bc069c1f738b55e357ff67 [INFO] running `Command { std: "docker" "start" "-a" "f6bc644355a412da3517c0b852e2d0daaf946db3c4bc069c1f738b55e357ff67", 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.07s [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::fails_without_captures ... ok [INFO] [stdout] test tests::fails_with_unmatched_captures ... ok [INFO] [stdout] test tests::deserializes_matching_captures_optional ... ok [INFO] [stdout] test tests::deserializes_zero_copy ... ok [INFO] [stdout] test tests::deserializes_matching_captures ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests recap [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] test src/lib.rs - (line 78) ... 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.81s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6bc644355a412da3517c0b852e2d0daaf946db3c4bc069c1f738b55e357ff67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6bc644355a412da3517c0b852e2d0daaf946db3c4bc069c1f738b55e357ff67", kill_on_drop: false }` [INFO] [stdout] f6bc644355a412da3517c0b852e2d0daaf946db3c4bc069c1f738b55e357ff67