[INFO] fetching crate nettext 0.4.1... [INFO] testing nettext-0.4.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate nettext 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate nettext 0.4.1 [INFO] finished tweaking crates.io crate nettext 0.4.1 [INFO] tweaked toml for crates.io crate nettext 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nettext 0.4.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding dryoc v0.5.4 (available: v0.7.0) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6927cda6ccc7eefeeb0f6a47a09b4a38a33d1a4db26ee95cac6555cbd6bdcc68 [INFO] running `Command { std: "docker" "start" "-a" "6927cda6ccc7eefeeb0f6a47a09b4a38a33d1a4db26ee95cac6555cbd6bdcc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6927cda6ccc7eefeeb0f6a47a09b4a38a33d1a4db26ee95cac6555cbd6bdcc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6927cda6ccc7eefeeb0f6a47a09b4a38a33d1a4db26ee95cac6555cbd6bdcc68", kill_on_drop: false }` [INFO] [stdout] 6927cda6ccc7eefeeb0f6a47a09b4a38a33d1a4db26ee95cac6555cbd6bdcc68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 920c5f08d5d076eb4786c5e57ffa84a8575108dd7d0e18b3ef3d4a6914f6cb01 [INFO] running `Command { std: "docker" "start" "-a" "920c5f08d5d076eb4786c5e57ffa84a8575108dd7d0e18b3ef3d4a6914f6cb01", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling dryoc v0.5.4 [INFO] [stderr] Compiling nettext v0.4.1 (/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/dec/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_TypeError` [INFO] [stdout] 7 | pub enum TypeError { [INFO] [stdout] | --------- `TypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/dec/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_TypeError` [INFO] [stdout] 7 | pub enum TypeError { [INFO] [stdout] | --------- `TypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.81s [INFO] running `Command { std: "docker" "inspect" "920c5f08d5d076eb4786c5e57ffa84a8575108dd7d0e18b3ef3d4a6914f6cb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920c5f08d5d076eb4786c5e57ffa84a8575108dd7d0e18b3ef3d4a6914f6cb01", kill_on_drop: false }` [INFO] [stdout] 920c5f08d5d076eb4786c5e57ffa84a8575108dd7d0e18b3ef3d4a6914f6cb01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e09d23e839132810243156d31e7b34b4c4d72c74dda4d7eb53c4fc15315b21d3 [INFO] running `Command { std: "docker" "start" "-a" "e09d23e839132810243156d31e7b34b4c4d72c74dda4d7eb53c4fc15315b21d3", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dec/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_TypeError` [INFO] [stdout] 7 | pub enum TypeError { [INFO] [stdout] | --------- `TypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/dec/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_TypeError` [INFO] [stdout] 7 | pub enum TypeError { [INFO] [stdout] | --------- `TypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nettext v0.4.1 (/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/enc/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/dec/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_TypeError` [INFO] [stdout] 7 | pub enum TypeError { [INFO] [stdout] | --------- `TypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/dec/error.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_TypeError` [INFO] [stdout] 7 | pub enum TypeError { [INFO] [stdout] | --------- `TypeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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.68s [INFO] running `Command { std: "docker" "inspect" "e09d23e839132810243156d31e7b34b4c4d72c74dda4d7eb53c4fc15315b21d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09d23e839132810243156d31e7b34b4c4d72c74dda4d7eb53c4fc15315b21d3", kill_on_drop: false }` [INFO] [stdout] e09d23e839132810243156d31e7b34b4c4d72c74dda4d7eb53c4fc15315b21d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d92c23e89be0b6ab14655e816a1a6df7f1b35435ca04c5317e156b6bc6d18ba9 [INFO] running `Command { std: "docker" "start" "-a" "d92c23e89be0b6ab14655e816a1a6df7f1b35435ca04c5317e156b6bc6d18ba9", 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/dec/error.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_TypeError` [INFO] [stderr] 7 | pub enum TypeError { [INFO] [stderr] | --------- `TypeError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/dec/error.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_TypeError` [INFO] [stderr] 7 | pub enum TypeError { [INFO] [stderr] | --------- `TypeError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stderr] 5 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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/enc/error.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Error)] [INFO] [stdout] [INFO] [stderr] | ^---- [INFO] [stdout] running 17 tests [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stderr] 5 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `nettext` (lib) generated 4 warnings [INFO] [stderr] warning: `nettext` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nettext-09054650737d39d2) [INFO] [stdout] test dec::decode::tests::real_world_1 ... ok [INFO] [stdout] test dec::decode::tests::seq_of_str_str ... ok [INFO] [stdout] test dec::decode::tests::simple_dict_2 ... ok [INFO] [stdout] test dec::decode::tests::simple_dict ... ok [INFO] [stdout] test dec::decode::tests::real_world_2 ... ok [INFO] [stdout] test dec::decode::tests::real_world_3 ... ok [INFO] [stdout] test dec::decode::tests::simple_list ... ok [INFO] [stdout] test enc::tests::complex1 ... ok [INFO] [stdout] test enc::tests::complex1_concise ... ok [INFO] [stdout] test serde::tests::test_dict ... ok [INFO] [stdout] test dec::decode::tests::simple_str ... ok [INFO] [stdout] test serde::tests::test_enum ... ok [INFO] [stdout] test dec::decode::tests::simple_list_2 ... ok [INFO] [stdout] test serde::tests::test_seqlist ... ok [INFO] [stdout] test serde::tests::test_seq1 ... ok [INFO] [stdout] test serde::tests::test_struct ... ok [INFO] [stdout] test serde::tests::test_list ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests nettext [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::marked_bytes_exact (line 448) ... ok [INFO] [stdout] test src/crypto/mod.rs - crypto::CryptoDec::hash (line 105) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::raw (line 84) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::str (line 112) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::seq (line 158) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::raw_str (line 98) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::dict (line 263) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::string (line 133) ... ok [INFO] [stdout] test src/enc/mod.rs - enc (line 5) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::bytes (line 107) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::bytes (line 407) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::dict_of (line 289) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::seq_of (line 185) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::seq_of_first (line 211) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::list (line 367) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::int (line 391) ... ok [INFO] [stdout] test src/dec/mod.rs - dec::Term<'a,'b>::dict_of_opt (line 331) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::seq (line 180) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::marked_bytes (line 150) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::dict (line 228) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::list (line 213) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::raw (line 88) ... ok [INFO] [stdout] test src/enc/mod.rs - enc::string (line 62) ... ok [INFO] [stdout] test src/lib.rs - (line 3) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d92c23e89be0b6ab14655e816a1a6df7f1b35435ca04c5317e156b6bc6d18ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d92c23e89be0b6ab14655e816a1a6df7f1b35435ca04c5317e156b6bc6d18ba9", kill_on_drop: false }` [INFO] [stdout] d92c23e89be0b6ab14655e816a1a6df7f1b35435ca04c5317e156b6bc6d18ba9