[INFO] fetching crate prost-helper 0.8.3... [INFO] testing prost-helper-0.8.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate prost-helper 0.8.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate prost-helper 0.8.3 [INFO] finished tweaking crates.io crate prost-helper 0.8.3 [INFO] tweaked toml for crates.io crate prost-helper 0.8.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prost-helper 0.8.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding prost v0.12.6 (available: v0.14.1) [INFO] [stderr] Adding uuid7 v0.7.2 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fstr v0.2.13 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded uuid7 v0.7.2 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6e4388dec45cee66df3ebcc17448a9c8a46b1ecd1669d358d9b5f95b1b7e520 [INFO] running `Command { std: "docker" "start" "-a" "a6e4388dec45cee66df3ebcc17448a9c8a46b1ecd1669d358d9b5f95b1b7e520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6e4388dec45cee66df3ebcc17448a9c8a46b1ecd1669d358d9b5f95b1b7e520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e4388dec45cee66df3ebcc17448a9c8a46b1ecd1669d358d9b5f95b1b7e520", kill_on_drop: false }` [INFO] [stdout] a6e4388dec45cee66df3ebcc17448a9c8a46b1ecd1669d358d9b5f95b1b7e520 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de1749ceb86ecfe30ee63f3921a41834d0c2aa92a913a0cf0b9bcc74b92ef25 [INFO] running `Command { std: "docker" "start" "-a" "0de1749ceb86ecfe30ee63f3921a41834d0c2aa92a913a0cf0b9bcc74b92ef25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fstr v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid7 v0.7.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling prost-helper v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.65s [INFO] running `Command { std: "docker" "inspect" "0de1749ceb86ecfe30ee63f3921a41834d0c2aa92a913a0cf0b9bcc74b92ef25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de1749ceb86ecfe30ee63f3921a41834d0c2aa92a913a0cf0b9bcc74b92ef25", kill_on_drop: false }` [INFO] [stdout] 0de1749ceb86ecfe30ee63f3921a41834d0c2aa92a913a0cf0b9bcc74b92ef25 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0431b9e6935d244a8f23fc6341df1e7c4d1627eba8d26ccab11c85a60326063 [INFO] running `Command { std: "docker" "start" "-a" "a0431b9e6935d244a8f23fc6341df1e7c4d1627eba8d26ccab11c85a60326063", kill_on_drop: false }` [INFO] [stderr] Compiling prost-helper v0.8.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | $(impl std::convert::From<$type> for Vec { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl std::convert::From<&$type> for Vec { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | $(impl std::convert::From<$type> for Vec { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl std::convert::From<&$type> for Vec { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stdout] | ^^^^^---------------------^---^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] 119 | vec_try_into_prost!(Hello, World); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 53 | | type Error = prost::DecodeError; [INFO] [stdout] 54 | | fn try_from(buf: Vec) -> Result { [INFO] [stdout] 55 | | let msg: $type = Message::decode(&buf[..])?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | impl std::convert::TryFrom<&[u8]> for $type { [INFO] [stdout] | | ^ --------------------- `TryFrom` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] 119 | vec_try_into_prost!(Hello, World); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stdout] | ^^^^^---------------------^---^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] 119 | vec_try_into_prost!(Hello, World); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 53 | | type Error = prost::DecodeError; [INFO] [stdout] 54 | | fn try_from(buf: Vec) -> Result { [INFO] [stdout] 55 | | let msg: $type = Message::decode(&buf[..])?; [INFO] [stdout] ... | [INFO] [stdout] 60 | | impl std::convert::TryFrom<&[u8]> for $type { [INFO] [stdout] | | ^ --------------------- `TryFrom` is not local [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 117 | fn test_prost_try_into_vec() { [INFO] [stdout] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stdout] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stdout] 119 | vec_try_into_prost!(Hello, World); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | $(impl std::convert::From<$type> for bytes::Bytes { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 132 | fn test_prost_try_into_bytes() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stdout] 133 | use bytes::Bytes; [INFO] [stdout] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl std::convert::From<&$type> for bytes::Bytes { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 132 | fn test_prost_try_into_bytes() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stdout] 133 | use bytes::Bytes; [INFO] [stdout] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | $(impl std::convert::From<$type> for bytes::Bytes { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 132 | fn test_prost_try_into_bytes() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stdout] 133 | use bytes::Bytes; [INFO] [stdout] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl std::convert::From<&$type> for bytes::Bytes { [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] ... [INFO] [stdout] 132 | fn test_prost_try_into_bytes() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stdout] 133 | use bytes::Bytes; [INFO] [stdout] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | $(impl std::convert::TryFrom for $type { [INFO] [stdout] | ^^^^^---------------------^------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] ... [INFO] [stdout] 132 | fn test_prost_try_into_bytes() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stdout] ... [INFO] [stdout] 135 | bytes_try_into_prost!(Hello, World); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bytes_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `bytes_try_into_prost` (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] --> src/macros.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | $(impl std::convert::TryFrom for $type { [INFO] [stdout] | ^^^^^---------------------^------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Bytes` is not local [INFO] [stdout] | `TryFrom` is not local [INFO] [stdout] ... [INFO] [stdout] 132 | fn test_prost_try_into_bytes() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stdout] ... [INFO] [stdout] 135 | bytes_try_into_prost!(Hello, World); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bytes_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `bytes_try_into_prost` (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] --> src/macros.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | $(impl ToJson for $type { [INFO] [stdout] | ^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ToJson` is not local [INFO] [stdout] ... [INFO] [stdout] 145 | fn test_prost_to_json() { [INFO] [stdout] | ----------------------- move the `impl` block outside of this function `test_prost_to_json` [INFO] [stdout] ... [INFO] [stdout] 148 | prost_to_json!(Hello, World); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Hello` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_to_json` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_to_json` (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] --> src/macros.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | $(impl ToJson for $type { [INFO] [stdout] | ^^^^^------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ToJson` is not local [INFO] [stdout] ... [INFO] [stdout] 145 | fn test_prost_to_json() { [INFO] [stdout] | ----------------------- move the `impl` block outside of this function `test_prost_to_json` [INFO] [stdout] ... [INFO] [stdout] 148 | prost_to_json!(Hello, World); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `World` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `prost_to_json` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_to_json` (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.24s [INFO] running `Command { std: "docker" "inspect" "a0431b9e6935d244a8f23fc6341df1e7c4d1627eba8d26ccab11c85a60326063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0431b9e6935d244a8f23fc6341df1e7c4d1627eba8d26ccab11c85a60326063", kill_on_drop: false }` [INFO] [stdout] a0431b9e6935d244a8f23fc6341df1e7c4d1627eba8d26ccab11c85a60326063 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a42fc91b622fcd1666eb5ee487e35839efe6b77b39efd7d75082db3f0e4a5dc1 [INFO] running `Command { std: "docker" "start" "-a" "a42fc91b622fcd1666eb5ee487e35839efe6b77b39efd7d75082db3f0e4a5dc1", 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] --> src/macros.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | $(impl std::convert::From<$type> for Vec { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^---^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Vec` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] | ------------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | impl std::convert::From<&$type> for Vec { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^^---^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Vec` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] | ------------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | $(impl std::convert::From<$type> for Vec { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^---^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Vec` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] | ------------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | impl std::convert::From<&$type> for Vec { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^^---^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Vec` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] | ------------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_vec` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_vec` (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] --> src/macros.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stderr] | ^^^^^---------------------^---^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Vec` is not local [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] 119 | vec_try_into_prost!(Hello, World); [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stderr] | ___________________________________________________^ [INFO] [stderr] 53 | | type Error = prost::DecodeError; [INFO] [stderr] 54 | | fn try_from(buf: Vec) -> Result { [INFO] [stderr] 55 | | let msg: $type = Message::decode(&buf[..])?; [INFO] [stderr] ... | [INFO] [stderr] 60 | | impl std::convert::TryFrom<&[u8]> for $type { [INFO] [stderr] | | ^ --------------------- `TryFrom` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] 119 | vec_try_into_prost!(Hello, World); [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stderr] | ^^^^^---------------------^---^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Vec` is not local [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] 119 | vec_try_into_prost!(Hello, World); [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | $(impl std::convert::TryFrom> for $type { [INFO] [stderr] | ___________________________________________________^ [INFO] [stderr] 53 | | type Error = prost::DecodeError; [INFO] [stderr] 54 | | fn try_from(buf: Vec) -> Result { [INFO] [stderr] 55 | | let msg: $type = Message::decode(&buf[..])?; [INFO] [stderr] ... | [INFO] [stderr] 60 | | impl std::convert::TryFrom<&[u8]> for $type { [INFO] [stderr] | | ^ --------------------- `TryFrom` is not local [INFO] [stderr] | |________| [INFO] [stderr] | [INFO] [stderr] ... [INFO] [stderr] 117 | fn test_prost_try_into_vec() { [INFO] [stderr] | ---------------------------- move the `impl` block outside of this function `test_prost_try_into_vec` [INFO] [stderr] 118 | prost_into_vec!((Hello, 32), (World, 256)); [INFO] [stderr] 119 | vec_try_into_prost!(Hello, World); [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `vec_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `vec_try_into_prost` (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] --> src/macros.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | $(impl std::convert::From<$type> for bytes::Bytes { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | `Bytes` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 132 | fn test_prost_try_into_bytes() { [INFO] [stderr] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stderr] 133 | use bytes::Bytes; [INFO] [stderr] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | impl std::convert::From<&$type> for bytes::Bytes { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | `Bytes` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 132 | fn test_prost_try_into_bytes() { [INFO] [stderr] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stderr] 133 | use bytes::Bytes; [INFO] [stderr] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | $(impl std::convert::From<$type> for bytes::Bytes { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | `Bytes` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 132 | fn test_prost_try_into_bytes() { [INFO] [stderr] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stderr] 133 | use bytes::Bytes; [INFO] [stderr] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | impl std::convert::From<&$type> for bytes::Bytes { [INFO] [stderr] | ^^^^^------------------^^^^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | `Bytes` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] ... [INFO] [stderr] 132 | fn test_prost_try_into_bytes() { [INFO] [stderr] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stderr] 133 | use bytes::Bytes; [INFO] [stderr] 134 | prost_into_bytes!((Hello, 32), (World, 256)); [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_into_bytes` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_into_bytes` (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] --> src/macros.rs:73:11 [INFO] [stderr] | [INFO] [stderr] 73 | $(impl std::convert::TryFrom for $type { [INFO] [stderr] | ^^^^^---------------------^------------^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Bytes` is not local [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] ... [INFO] [stderr] 132 | fn test_prost_try_into_bytes() { [INFO] [stderr] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stderr] ... [INFO] [stderr] 135 | bytes_try_into_prost!(Hello, World); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bytes_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `bytes_try_into_prost` (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] --> src/macros.rs:73:11 [INFO] [stderr] | [INFO] [stderr] 73 | $(impl std::convert::TryFrom for $type { [INFO] [stderr] | ^^^^^---------------------^------------^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Bytes` is not local [INFO] [stderr] | `TryFrom` is not local [INFO] [stderr] ... [INFO] [stderr] 132 | fn test_prost_try_into_bytes() { [INFO] [stderr] | ------------------------------ move the `impl` block outside of this function `test_prost_try_into_bytes` [INFO] [stderr] ... [INFO] [stderr] 135 | bytes_try_into_prost!(Hello, World); [INFO] [stderr] | ----------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bytes_try_into_prost` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `bytes_try_into_prost` (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] --> src/macros.rs:88:11 [INFO] [stderr] | [INFO] [stderr] 88 | $(impl ToJson for $type { [INFO] [stderr] | ^^^^^------^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ToJson` is not local [INFO] [stderr] ... [INFO] [stderr] 145 | fn test_prost_to_json() { [INFO] [stderr] | ----------------------- move the `impl` block outside of this function `test_prost_to_json` [INFO] [stderr] ... [INFO] [stderr] 148 | prost_to_json!(Hello, World); [INFO] [stderr] | ---------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `Hello` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_to_json` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_to_json` (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] --> src/macros.rs:88:11 [INFO] [stderr] | [INFO] [stderr] 88 | $(impl ToJson for $type { [INFO] [stderr] | ^^^^^------^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ToJson` is not local [INFO] [stderr] ... [INFO] [stderr] 145 | fn test_prost_to_json() { [INFO] [stderr] | ----------------------- move the `impl` block outside of this function `test_prost_to_json` [INFO] [stderr] ... [INFO] [stderr] 148 | prost_to_json!(Hello, World); [INFO] [stderr] | ---------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `World` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `prost_to_json` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `prost_to_json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `prost-helper` (lib test) generated 16 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prost_helper-1060ed656dd5ee82) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test buf::tests::bytes_encoded_with_base64 ... ok [INFO] [stdout] test buf::tests::repeat_vec_u8_encoded_with_base64 ... ok [INFO] [stdout] test id::tests::vec_u8_encoded_with_uuid7 ... ok [INFO] [stdout] test id::tests::vec_u8_in_enum_encoded_with_uuid7 ... ok [INFO] [stdout] test buf::tests::repeat_bytes_encoded_with_base64 ... ok [INFO] [stdout] test id::tests::bytes_encoded_with_uuid7 ... ok [INFO] [stdout] test macros::tests::test_prost_to_json ... ok [INFO] [stdout] test macros::tests::test_prost_try_into_bytes ... ok [INFO] [stdout] test macros::tests::test_prost_try_into_vec ... ok [INFO] [stdout] test tests::is_zero_work_for_i32 ... ok [INFO] [stdout] test tests::is_zero_work_for_u64 ... ok [INFO] [stdout] test id::tests::repeat_bytes_encoded_with_uuid7 ... ok [INFO] [stdout] test buf::tests::vec_u8_in_enum_encoded_with_base64 ... ok [INFO] [stdout] test buf::tests::vec_u8_encoded_with_base64 ... ok [INFO] [stderr] Doc-tests prost_helper [INFO] [stdout] test id::tests::repeat_vec_u8_encoded_with_uuid7 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 11) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a42fc91b622fcd1666eb5ee487e35839efe6b77b39efd7d75082db3f0e4a5dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42fc91b622fcd1666eb5ee487e35839efe6b77b39efd7d75082db3f0e4a5dc1", kill_on_drop: false }` [INFO] [stdout] a42fc91b622fcd1666eb5ee487e35839efe6b77b39efd7d75082db3f0e4a5dc1