[INFO] fetching crate indy 1.16.0-post-286...
[INFO] checking indy-1.16.0-post-286 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate indy 1.16.0-post-286 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate indy 1.16.0-post-286 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate indy 1.16.0-post-286
[INFO] finished tweaking crates.io crate indy 1.16.0-post-286
[INFO] tweaked toml for crates.io crate indy 1.16.0-post-286 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rmp v0.8.12
[INFO] [stderr]   Downloaded block-buffer v0.7.3
[INFO] [stderr]   Downloaded generic-array v0.12.4
[INFO] [stderr]   Downloaded fake-simd v0.1.2
[INFO] [stderr]   Downloaded block-padding v0.1.5
[INFO] [stderr]   Downloaded sha2 v0.8.2
[INFO] [stderr]   Downloaded byte-tools v0.3.1
[INFO] [stderr]   Downloaded bs58 v0.2.5
[INFO] [stderr]   Downloaded redox_users v0.3.5
[INFO] [stderr]   Downloaded cloudabi v0.0.3
[INFO] [stderr]   Downloaded rust-argon2 v0.8.3
[INFO] [stderr]   Downloaded backtrace v0.3.55
[INFO] [stderr]   Downloaded gimli v0.23.0
[INFO] [stderr]   Downloaded object v0.22.0
[INFO] [stderr]   Downloaded futures v0.1.31
[INFO] [stderr]   Downloaded rand v0.5.6
[INFO] [stderr]   Downloaded libc v0.2.66
[INFO] [stderr]   Downloaded dirs v1.0.5
[INFO] [stderr]   Downloaded addr2line v0.14.1
[INFO] [stderr]   Downloaded opaque-debug v0.2.3
[INFO] [stderr]   Downloaded num-derive v0.2.5
[INFO] [stderr]   Downloaded digest v0.8.1
[INFO] [stderr]   Downloaded redox_syscall v0.1.57
[INFO] [stderr]   Downloaded indy-sys v1.16.0-post-286
[INFO] [stderr]   Downloaded rmp-serde v0.13.7
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a86e7892deb64eb2a78f7449fe4f643e29c12e6ce663b182976291d97a0505b8
[INFO] running `Command { std: "docker" "start" "-a" "a86e7892deb64eb2a78f7449fe4f643e29c12e6ce663b182976291d97a0505b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a86e7892deb64eb2a78f7449fe4f643e29c12e6ce663b182976291d97a0505b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a86e7892deb64eb2a78f7449fe4f643e29c12e6ce663b182976291d97a0505b8", kill_on_drop: false }`
[INFO] [stdout] a86e7892deb64eb2a78f7449fe4f643e29c12e6ce663b182976291d97a0505b8
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0eb61d74bee917b5a023e46249e59ec68a788e0e9b338b0e96c493c609081e7
[INFO] running `Command { std: "docker" "start" "-a" "c0eb61d74bee917b5a023e46249e59ec68a788e0e9b338b0e96c493c609081e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking addr2line v0.14.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rmp v0.8.12
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]     Checking backtrace v0.3.55
[INFO] [stderr]     Checking rmp-serde v0.13.7
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]     Checking bs58 v0.2.5
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]    Compiling indy-sys v1.16.0-post-286
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking indy v1.16.0-post-286 (/opt/rustwide/workdir)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/utils/callbacks.rs:173:77
[INFO] [stdout]     |
[INFO] [stdout] 173 |         callback(command_handle, 0, CString::new("This is a test").unwrap().as_ptr(), null());
[INFO] [stdout]     |                                     --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/utils/callbacks.rs:185:77
[INFO] [stdout]     |
[INFO] [stdout] 185 |         callback(command_handle, 0, CString::new("This is a test").unwrap().as_ptr(), CString::new("The second string has something").unw...
[INFO] [stdout]     |                                     --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/utils/callbacks.rs:185:144
[INFO] [stdout]     |
[INFO] [stdout] 185 | ... a test").unwrap().as_ptr(), CString::new("The second string has something").unwrap().as_ptr());
[INFO] [stdout]     |                                 -------------------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 25.13s
[INFO] running `Command { std: "docker" "inspect" "c0eb61d74bee917b5a023e46249e59ec68a788e0e9b338b0e96c493c609081e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0eb61d74bee917b5a023e46249e59ec68a788e0e9b338b0e96c493c609081e7", kill_on_drop: false }`
[INFO] [stdout] c0eb61d74bee917b5a023e46249e59ec68a788e0e9b338b0e96c493c609081e7
[INFO] checking indy-1.16.0-post-286 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate indy 1.16.0-post-286 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate indy 1.16.0-post-286 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate indy 1.16.0-post-286
[INFO] finished tweaking crates.io crate indy 1.16.0-post-286
[INFO] tweaked toml for crates.io crate indy 1.16.0-post-286 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc7966b67c43f2e10fc40b1193ca7f34d428582db1dfe2ec8c8d0ebba799f7d2
[INFO] running `Command { std: "docker" "start" "-a" "bc7966b67c43f2e10fc40b1193ca7f34d428582db1dfe2ec8c8d0ebba799f7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc7966b67c43f2e10fc40b1193ca7f34d428582db1dfe2ec8c8d0ebba799f7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc7966b67c43f2e10fc40b1193ca7f34d428582db1dfe2ec8c8d0ebba799f7d2", kill_on_drop: false }`
[INFO] [stdout] bc7966b67c43f2e10fc40b1193ca7f34d428582db1dfe2ec8c8d0ebba799f7d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b46a27affcd7fb7fa5134d62021ba3ba4c206ddb1b9841f39d73e91e8ecdf5ef
[INFO] running `Command { std: "docker" "start" "-a" "b46a27affcd7fb7fa5134d62021ba3ba4c206ddb1b9841f39d73e91e8ecdf5ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]     Checking addr2line v0.14.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking backtrace v0.3.55
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rmp v0.8.12
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking rmp-serde v0.13.7
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking bs58 v0.2.5
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]    Compiling indy-sys v1.16.0-post-286
[INFO] [stderr]     Checking indy v1.16.0-post-286 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:47
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:62
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/utils/callbacks.rs:173:77
[INFO] [stdout]     |
[INFO] [stdout] 173 |         callback(command_handle, 0, CString::new("This is a test").unwrap().as_ptr(), null());
[INFO] [stdout]     |                                     --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/utils/callbacks.rs:185:77
[INFO] [stdout]     |
[INFO] [stdout] 185 |         callback(command_handle, 0, CString::new("This is a test").unwrap().as_ptr(), CString::new("The second string has something").unw...
[INFO] [stdout]     |                                     --------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/utils/callbacks.rs:185:144
[INFO] [stdout]     |
[INFO] [stdout] 185 | ... a test").unwrap().as_ptr(), CString::new("The second string has something").unwrap().as_ptr());
[INFO] [stdout]     |                                 -------------------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:47
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:77:62
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Fail, Debug, PartialEq, Copy, Clone, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_ErrorCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `indy` (lib test) due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `indy` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "b46a27affcd7fb7fa5134d62021ba3ba4c206ddb1b9841f39d73e91e8ecdf5ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b46a27affcd7fb7fa5134d62021ba3ba4c206ddb1b9841f39d73e91e8ecdf5ef", kill_on_drop: false }`
[INFO] [stdout] b46a27affcd7fb7fa5134d62021ba3ba4c206ddb1b9841f39d73e91e8ecdf5ef
