[INFO] fetching crate recap 0.1.2... [INFO] testing recap-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate recap 0.1.2 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate recap 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 recap-derive v0.1.2 [INFO] [stderr] Downloaded serde_derive v1.0.132 [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f1531eddabf2a106db388cf86028b1c3c1bda552c4fa4f766f4242144586f0c [INFO] running `Command { std: "docker" "start" "-a" "8f1531eddabf2a106db388cf86028b1c3c1bda552c4fa4f766f4242144586f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f1531eddabf2a106db388cf86028b1c3c1bda552c4fa4f766f4242144586f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1531eddabf2a106db388cf86028b1c3c1bda552c4fa4f766f4242144586f0c", kill_on_drop: false }` [INFO] [stdout] 8f1531eddabf2a106db388cf86028b1c3c1bda552c4fa4f766f4242144586f0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ce3a5a2314e41d6115e8a18a2d0a73d2722309ab5c14f4b2927863e30e439dc [INFO] running `Command { std: "docker" "start" "-a" "0ce3a5a2314e41d6115e8a18a2d0a73d2722309ab5c14f4b2927863e30e439dc", 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.84s [INFO] running `Command { std: "docker" "inspect" "0ce3a5a2314e41d6115e8a18a2d0a73d2722309ab5c14f4b2927863e30e439dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce3a5a2314e41d6115e8a18a2d0a73d2722309ab5c14f4b2927863e30e439dc", kill_on_drop: false }` [INFO] [stdout] 0ce3a5a2314e41d6115e8a18a2d0a73d2722309ab5c14f4b2927863e30e439dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0dc2c95bed592ec7bbb239e88d71c5e60025a7aeff4fbff36d3eb38ca3b84df [INFO] running `Command { std: "docker" "start" "-a" "b0dc2c95bed592ec7bbb239e88d71c5e60025a7aeff4fbff36d3eb38ca3b84df", 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.93s [INFO] running `Command { std: "docker" "inspect" "b0dc2c95bed592ec7bbb239e88d71c5e60025a7aeff4fbff36d3eb38ca3b84df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0dc2c95bed592ec7bbb239e88d71c5e60025a7aeff4fbff36d3eb38ca3b84df", kill_on_drop: false }` [INFO] [stdout] b0dc2c95bed592ec7bbb239e88d71c5e60025a7aeff4fbff36d3eb38ca3b84df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45f386b63746ac951b19eb539b7c0c907da679199828e224f8cff1a3ea805b15 [INFO] running `Command { std: "docker" "start" "-a" "45f386b63746ac951b19eb539b7c0c907da679199828e224f8cff1a3ea805b15", 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 ... ok [INFO] [stderr] Doc-tests recap [INFO] [stdout] test tests::deserializes_zero_copy ... ok [INFO] [stdout] test tests::fails_with_unmatched_captures ... ok [INFO] [stdout] test tests::fails_without_captures ... ok [INFO] [stdout] test tests::deserializes_matching_captures_optional ... 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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] test src/lib.rs - (line 44) ... ok [INFO] [stdout] test src/lib.rs - (line 78) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45f386b63746ac951b19eb539b7c0c907da679199828e224f8cff1a3ea805b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f386b63746ac951b19eb539b7c0c907da679199828e224f8cff1a3ea805b15", kill_on_drop: false }` [INFO] [stdout] 45f386b63746ac951b19eb539b7c0c907da679199828e224f8cff1a3ea805b15