[INFO] fetching crate ostrich-core 0.1.0... [INFO] testing ostrich-core-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ostrich-core 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ostrich-core 0.1.0 [INFO] finished tweaking crates.io crate ostrich-core 0.1.0 [INFO] tweaked toml for crates.io crate ostrich-core 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ostrich-core 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9962ef48c85e7a100ddaa1acfda7c40d77e5e2f378a655a6ce10158b3dd55d7 [INFO] running `Command { std: "docker" "start" "-a" "e9962ef48c85e7a100ddaa1acfda7c40d77e5e2f378a655a6ce10158b3dd55d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9962ef48c85e7a100ddaa1acfda7c40d77e5e2f378a655a6ce10158b3dd55d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9962ef48c85e7a100ddaa1acfda7c40d77e5e2f378a655a6ce10158b3dd55d7", kill_on_drop: false }` [INFO] [stdout] e9962ef48c85e7a100ddaa1acfda7c40d77e5e2f378a655a6ce10158b3dd55d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4a5db8755ae65a8f45796ebb80558aff812df228038ff0f0c85f6310b435571 [INFO] running `Command { std: "docker" "start" "-a" "a4a5db8755ae65a8f45796ebb80558aff812df228038ff0f0c85f6310b435571", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ostrich-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CMD_BYTES: Range = (0..0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const CMD_BYTES: Range = (0..0); [INFO] [stdout] 23 + pub const CMD_BYTES: Range = 0..0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SENDER_BYTES: Range = (2..15); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const SENDER_BYTES: Range = (2..15); [INFO] [stdout] 25 + pub const SENDER_BYTES: Range = 2..15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub const RECV_BYTES: Range = (17..31); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub const RECV_BYTES: Range = (17..31); [INFO] [stdout] 27 + pub const RECV_BYTES: Range = 17..31; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub const TXT_LEN: Range = (32..33); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub const TXT_LEN: Range = (32..33); [INFO] [stdout] 28 + pub const TXT_LEN: Range = 32..33; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TXT_BYTES: Range = (34..1023); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub const TXT_BYTES: Range = (34..1023); [INFO] [stdout] 29 + pub const TXT_BYTES: Range = 34..1023; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CommandCode` [INFO] [stdout] 33 | #[repr(u8)] [INFO] [stdout] 34 | pub enum CommandCode { [INFO] [stdout] | ----------- `CommandCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (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 4.82s [INFO] running `Command { std: "docker" "inspect" "a4a5db8755ae65a8f45796ebb80558aff812df228038ff0f0c85f6310b435571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a5db8755ae65a8f45796ebb80558aff812df228038ff0f0c85f6310b435571", kill_on_drop: false }` [INFO] [stdout] a4a5db8755ae65a8f45796ebb80558aff812df228038ff0f0c85f6310b435571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74b30840e3ca1c75bce183a208eb309a3df4a6b502f94d93fc5d418c69d6ca7e [INFO] running `Command { std: "docker" "start" "-a" "74b30840e3ca1c75bce183a208eb309a3df4a6b502f94d93fc5d418c69d6ca7e", kill_on_drop: false }` [INFO] [stderr] Compiling ostrich-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CMD_BYTES: Range = (0..0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const CMD_BYTES: Range = (0..0); [INFO] [stdout] 23 + pub const CMD_BYTES: Range = 0..0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SENDER_BYTES: Range = (2..15); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const SENDER_BYTES: Range = (2..15); [INFO] [stdout] 25 + pub const SENDER_BYTES: Range = 2..15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub const RECV_BYTES: Range = (17..31); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub const RECV_BYTES: Range = (17..31); [INFO] [stdout] 27 + pub const RECV_BYTES: Range = 17..31; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub const TXT_LEN: Range = (32..33); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub const TXT_LEN: Range = (32..33); [INFO] [stdout] 28 + pub const TXT_LEN: Range = 32..33; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TXT_BYTES: Range = (34..1023); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub const TXT_BYTES: Range = (34..1023); [INFO] [stdout] 29 + pub const TXT_BYTES: Range = 34..1023; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CommandCode` [INFO] [stdout] 33 | #[repr(u8)] [INFO] [stdout] 34 | pub enum CommandCode { [INFO] [stdout] | ----------- `CommandCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CMD_BYTES: Range = (0..0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const CMD_BYTES: Range = (0..0); [INFO] [stdout] 23 + pub const CMD_BYTES: Range = 0..0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SENDER_BYTES: Range = (2..15); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const SENDER_BYTES: Range = (2..15); [INFO] [stdout] 25 + pub const SENDER_BYTES: Range = 2..15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub const RECV_BYTES: Range = (17..31); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub const RECV_BYTES: Range = (17..31); [INFO] [stdout] 27 + pub const RECV_BYTES: Range = 17..31; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub const TXT_LEN: Range = (32..33); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub const TXT_LEN: Range = (32..33); [INFO] [stdout] 28 + pub const TXT_LEN: Range = 32..33; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TXT_BYTES: Range = (34..1023); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub const TXT_BYTES: Range = (34..1023); [INFO] [stdout] 29 + pub const TXT_BYTES: Range = 34..1023; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CommandCode` [INFO] [stdout] 33 | #[repr(u8)] [INFO] [stdout] 34 | pub enum CommandCode { [INFO] [stdout] | ----------- `CommandCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "74b30840e3ca1c75bce183a208eb309a3df4a6b502f94d93fc5d418c69d6ca7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b30840e3ca1c75bce183a208eb309a3df4a6b502f94d93fc5d418c69d6ca7e", kill_on_drop: false }` [INFO] [stdout] 74b30840e3ca1c75bce183a208eb309a3df4a6b502f94d93fc5d418c69d6ca7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f11b92d53029246a8c225b73386a04f44734aa82f4b22c2c2b2beaee8b6465a [INFO] running `Command { std: "docker" "start" "-a" "1f11b92d53029246a8c225b73386a04f44734aa82f4b22c2c2b2beaee8b6465a", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:23:37 [INFO] [stderr] | [INFO] [stderr] 23 | pub const CMD_BYTES: Range = (0..0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - pub const CMD_BYTES: Range = (0..0); [INFO] [stderr] 23 + pub const CMD_BYTES: Range = 0..0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:25:40 [INFO] [stderr] | [INFO] [stderr] 25 | pub const SENDER_BYTES: Range = (2..15); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 25 - pub const SENDER_BYTES: Range = (2..15); [INFO] [stderr] 25 + pub const SENDER_BYTES: Range = 2..15; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub const RECV_BYTES: Range = (17..31); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 27 - pub const RECV_BYTES: Range = (17..31); [INFO] [stderr] 27 + pub const RECV_BYTES: Range = 17..31; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | pub const TXT_LEN: Range = (32..33); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 28 - pub const TXT_LEN: Range = (32..33); [INFO] [stderr] 28 + pub const TXT_LEN: Range = 32..33; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | pub const TXT_BYTES: Range = (34..1023); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 - pub const TXT_BYTES: Range = (34..1023); [INFO] [stderr] 29 + pub const TXT_BYTES: Range = 34..1023; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:32:45 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` 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, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:32:45 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CommandCode` [INFO] [stderr] 33 | #[repr(u8)] [INFO] [stderr] 34 | pub enum CommandCode { [INFO] [stderr] | ----------- `CommandCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ostrich-core` (lib) generated 7 warnings (run `cargo fix --lib -p ostrich-core` to apply 5 suggestions) [INFO] [stderr] warning: `ostrich-core` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ostrich_core-376fe0da61406fa3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_err ... ok [INFO] [stdout] test test_msg ... ok [INFO] [stdout] test test_get ... ok [INFO] [stderr] Doc-tests ostrich_core [INFO] [stdout] test test_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:23:37 [INFO] [stderr] | [INFO] [stderr] 23 | pub const CMD_BYTES: Range = (0..0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - pub const CMD_BYTES: Range = (0..0); [INFO] [stderr] 23 + pub const CMD_BYTES: Range = 0..0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:25:40 [INFO] [stderr] | [INFO] [stderr] 25 | pub const SENDER_BYTES: Range = (2..15); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 25 - pub const SENDER_BYTES: Range = (2..15); [INFO] [stderr] 25 + pub const SENDER_BYTES: Range = 2..15; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub const RECV_BYTES: Range = (17..31); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 27 - pub const RECV_BYTES: Range = (17..31); [INFO] [stderr] 27 + pub const RECV_BYTES: Range = 17..31; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | pub const TXT_LEN: Range = (32..33); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 28 - pub const TXT_LEN: Range = (32..33); [INFO] [stderr] 28 + pub const TXT_LEN: Range = 32..33; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | pub const TXT_BYTES: Range = (34..1023); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 - pub const TXT_BYTES: Range = (34..1023); [INFO] [stderr] 29 + pub const TXT_BYTES: Range = 34..1023; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [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" "1f11b92d53029246a8c225b73386a04f44734aa82f4b22c2c2b2beaee8b6465a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f11b92d53029246a8c225b73386a04f44734aa82f4b22c2c2b2beaee8b6465a", kill_on_drop: false }` [INFO] [stdout] 1f11b92d53029246a8c225b73386a04f44734aa82f4b22c2c2b2beaee8b6465a