[INFO] fetching crate allen 0.2.0... [INFO] testing allen-0.2.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] extracting crate allen 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate allen 0.2.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate allen 0.2.0 [INFO] finished tweaking crates.io crate allen 0.2.0 [INFO] tweaked toml for crates.io crate allen 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate allen 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.147 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded shlex v1.1.0 [INFO] [stderr] Downloaded serde v1.0.147 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded libloading v0.7.3 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] [stderr] Downloaded clap v3.2.20 [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded bindgen v0.60.1 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded lewton v0.10.2 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded ogg v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded os_str_bytes v6.3.0 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded either v1.8.0 [INFO] [stderr] Downloaded which v4.3.0 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.34 [INFO] [stderr] Downloaded thiserror v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd43d79a387a71e95745c1629a7f3efc5c5f4c5ef7e6eed02dfc75001c9fdda [INFO] running `Command { std: "docker" "start" "-a" "6fd43d79a387a71e95745c1629a7f3efc5c5f4c5ef7e6eed02dfc75001c9fdda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd43d79a387a71e95745c1629a7f3efc5c5f4c5ef7e6eed02dfc75001c9fdda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd43d79a387a71e95745c1629a7f3efc5c5f4c5ef7e6eed02dfc75001c9fdda", kill_on_drop: false }` [INFO] [stdout] 6fd43d79a387a71e95745c1629a7f3efc5c5f4c5ef7e6eed02dfc75001c9fdda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a49b4aebbe8d13ee9dde0191052501477fdb8fb9c8279e6b6b1b0383a646bf2 [INFO] running `Command { std: "docker" "start" "-a" "2a49b4aebbe8d13ee9dde0191052501477fdb8fb9c8279e6b6b1b0383a646bf2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.3.0 [INFO] [stderr] Compiling clap v3.2.20 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling allen v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `c_char` [INFO] [stdout] --> src/context.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ffi::{c_char, CString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString`, `ptr` [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ptr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/source.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SourceState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/source.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SourceState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.99s [INFO] running `Command { std: "docker" "inspect" "2a49b4aebbe8d13ee9dde0191052501477fdb8fb9c8279e6b6b1b0383a646bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a49b4aebbe8d13ee9dde0191052501477fdb8fb9c8279e6b6b1b0383a646bf2", kill_on_drop: false }` [INFO] [stdout] 2a49b4aebbe8d13ee9dde0191052501477fdb8fb9c8279e6b6b1b0383a646bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1cff36fa29ad21da3515b5b2e2fea616dcc2afbc0b483b66a27c4443c2d852f [INFO] running `Command { std: "docker" "start" "-a" "f1cff36fa29ad21da3515b5b2e2fea616dcc2afbc0b483b66a27c4443c2d852f", kill_on_drop: false }` [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stdout] warning: unused import: `c_char` [INFO] [stdout] --> src/context.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ffi::{c_char, CString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString`, `ptr` [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ptr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/source.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SourceState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/source.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SourceState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling allen v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `c_char` [INFO] [stdout] --> src/context.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ffi::{c_char, CString}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString`, `ptr` [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ptr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/source.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SourceState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/source.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SourceState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "f1cff36fa29ad21da3515b5b2e2fea616dcc2afbc0b483b66a27c4443c2d852f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1cff36fa29ad21da3515b5b2e2fea616dcc2afbc0b483b66a27c4443c2d852f", kill_on_drop: false }` [INFO] [stdout] f1cff36fa29ad21da3515b5b2e2fea616dcc2afbc0b483b66a27c4443c2d852f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c1b9c7635474128639a5c8a99818aecefb80835e1305db82c24ce204fb48c02 [INFO] running `Command { std: "docker" "start" "-a" "4c1b9c7635474128639a5c8a99818aecefb80835e1305db82c24ce204fb48c02", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `c_char` [INFO] [stderr] --> src/context.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | ffi::{c_char, CString}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CString`, `ptr` [INFO] [stderr] --> src/lib.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | ffi::{CStr, CString}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | ptr, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stderr] --> src/source.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SourceState` [INFO] [stderr] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stderr] --> src/source.rs:6:60 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SourceState` [INFO] [stderr] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stderr] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `allen` (lib) generated 4 warnings (run `cargo fix --lib -p allen` to apply 2 suggestions) [INFO] [stderr] warning: `allen` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/allen-1f84478b09603418) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test sys::bindgen_test_layout___fsid_t ... ok [INFO] [stdout] test sys::bindgen_test_layout_max_align_t ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests allen [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c1b9c7635474128639a5c8a99818aecefb80835e1305db82c24ce204fb48c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1b9c7635474128639a5c8a99818aecefb80835e1305db82c24ce204fb48c02", kill_on_drop: false }` [INFO] [stdout] 4c1b9c7635474128639a5c8a99818aecefb80835e1305db82c24ce204fb48c02