[INFO] cloning repository https://github.com/necrashter/PowerRAFT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/necrashter/PowerRAFT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecrashter%2FPowerRAFT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecrashter%2FPowerRAFT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c2f583f53b00fd3e8f72f713d6fe6d56d3cef2e [INFO] testing necrashter/PowerRAFT against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecrashter%2FPowerRAFT" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/necrashter/PowerRAFT on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/necrashter/PowerRAFT [INFO] finished tweaking git repo https://github.com/necrashter/PowerRAFT [INFO] tweaked toml for git repo https://github.com/necrashter/PowerRAFT written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/necrashter/PowerRAFT 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cap v0.1.2 [INFO] [stderr] Downloaded iai-callgrind-macros v0.1.0 [INFO] [stderr] Downloaded iai-callgrind-runner v0.7.1 [INFO] [stderr] Downloaded iai-callgrind v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332331507abceb4fb848bf04f469bbeb26e34b657684c3dd07b8122ca4a7bf3e [INFO] running `Command { std: "docker" "start" "-a" "332331507abceb4fb848bf04f469bbeb26e34b657684c3dd07b8122ca4a7bf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332331507abceb4fb848bf04f469bbeb26e34b657684c3dd07b8122ca4a7bf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332331507abceb4fb848bf04f469bbeb26e34b657684c3dd07b8122ca4a7bf3e", kill_on_drop: false }` [INFO] [stdout] 332331507abceb4fb848bf04f469bbeb26e34b657684c3dd07b8122ca4a7bf3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49404088493e6cf33d61d155358cfc8d21d767c90aae34f2e185637664c5c57e [INFO] running `Command { std: "docker" "start" "-a" "49404088493e6cf33d61d155358cfc8d21d767c90aae34f2e185637664c5c57e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling cap v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling sanitize-filename v0.4.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling sysinfo v0.29.10 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling dmslib v0.1.0 (/opt/rustwide/workdir/dmslib) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dmslib/src/teams/state.rs:24:62 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(PartialEq, Eq, Clone, Debug, PartialOrd, Ord, Copy, 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_BusState` [INFO] [stdout] 25 | pub enum BusState { [INFO] [stdout] | -------- `BusState` 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] Compiling hyper v0.14.27 [INFO] [stderr] Compiling dmscli v0.1.0 (/opt/rustwide/workdir/dmscli) [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "49404088493e6cf33d61d155358cfc8d21d767c90aae34f2e185637664c5c57e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49404088493e6cf33d61d155358cfc8d21d767c90aae34f2e185637664c5c57e", kill_on_drop: false }` [INFO] [stdout] 49404088493e6cf33d61d155358cfc8d21d767c90aae34f2e185637664c5c57e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3ea111f2c53b1455b635e9bcb5fbbc47f2dab58aad45e284fe424363272552a [INFO] running `Command { std: "docker" "start" "-a" "d3ea111f2c53b1455b635e9bcb5fbbc47f2dab58aad45e284fe424363272552a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling iai-callgrind-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling iai-callgrind-runner v0.7.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling iai-callgrind v0.7.1 [INFO] [stderr] Compiling dmslib v0.1.0 (/opt/rustwide/workdir/dmslib) [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dmslib/src/teams/state.rs:24:62 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(PartialEq, Eq, Clone, Debug, PartialOrd, Ord, Copy, 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_BusState` [INFO] [stdout] 25 | pub enum BusState { [INFO] [stdout] | -------- `BusState` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dmslib/src/teams/state.rs:24:62 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(PartialEq, Eq, Clone, Debug, PartialOrd, Ord, Copy, 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_BusState` [INFO] [stdout] 25 | pub enum BusState { [INFO] [stdout] | -------- `BusState` 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] Compiling warp v0.3.6 [INFO] [stderr] Compiling dmscli v0.1.0 (/opt/rustwide/workdir/dmscli) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 46.90s [INFO] running `Command { std: "docker" "inspect" "d3ea111f2c53b1455b635e9bcb5fbbc47f2dab58aad45e284fe424363272552a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ea111f2c53b1455b635e9bcb5fbbc47f2dab58aad45e284fe424363272552a", kill_on_drop: false }` [INFO] [stdout] d3ea111f2c53b1455b635e9bcb5fbbc47f2dab58aad45e284fe424363272552a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee1f2f0f73b01be25da0d39271089c0127f60c6b24d366eae49de955f02fc44d [INFO] running `Command { std: "docker" "start" "-a" "ee1f2f0f73b01be25da0d39271089c0127f60c6b24d366eae49de955f02fc44d", 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] --> dmslib/src/teams/state.rs:24:62 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(PartialEq, Eq, Clone, Debug, PartialOrd, Ord, Copy, 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_BusState` [INFO] [stderr] 25 | pub enum BusState { [INFO] [stderr] | -------- `BusState` 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: `dmslib` (lib) generated 1 warning [INFO] [stderr] warning: `dmslib` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dmscli-f1bad9959f99f89a) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dmslib-7ecb6b4fb314e2f9) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test policy::tests::transition_serialization ... ok [INFO] [stdout] test policy::tests::timed_policy_test ... ok [INFO] [stdout] test teams::integration_tests::pe0_1_team ... ignored [INFO] [stdout] test teams::integration_tests::pe0_2_team ... ignored [INFO] [stdout] test teams::integration_tests::save_test_pe0_1_team ... ignored [INFO] [stdout] test policy::tests::transition_traits_test ... ok [INFO] [stdout] test io::tests::basic ... ok [INFO] [stdout] test policy::tests::zero_timed_policy_test ... ok [INFO] [stdout] test policy::tests::naive_policy_test ... ok [INFO] [stdout] test io::fs::tests::test_name_to_json ... ok [INFO] [stdout] test teams::state::tests::start_state_test ... ok [INFO] [stdout] test teams::state::indexers::tests::bit_stack_indexer_test ... ok [INFO] [stdout] test policy::tests::longest_path_lengths_simple_test ... ok [INFO] [stdout] test teams::state::indexers::compressed::tests::compress_states_test ... ok [INFO] [stdout] test teams::state::indexers::compressed::tests::compress_states_initial_node_test ... ok [INFO] [stdout] test teams::state::indexers::compressed::tests::state_compressor_test ... ok [INFO] [stdout] test teams::tests::cannot_wait_if_no_path ... ok [INFO] [stdout] test teams::state::tests::state_ord_test ... ok [INFO] [stdout] test teams::state::tests::team_state_ord_test ... ok [INFO] [stdout] test teams::tests::all_enroute_actions ... ok [INFO] [stdout] test teams::tests::minimal_nonopt_permutations ... ok [INFO] [stdout] test teams::tests::on_energized_bus_actions ... ok [INFO] [stdout] test teams::tests::eliminating_cycle_permutations ... ok [INFO] [stdout] test teams::tests::wait_moving_elimination ... ok [INFO] [stdout] test teams::transitions::tests::test_min_time_until_arrival ... ok [INFO] [stdout] test teams::tests::beta_values_on_paper_example ... ok [INFO] [stdout] test teams::tests::paper_example_4_1_1 ... ok [INFO] [stdout] test utils::tests::is_graph_cyclic_test ... ok [INFO] [stdout] test teams::transitions::tests::test_time_until_arrival_progress ... ok [INFO] [stdout] test utils::tests::sorted_intersects_test ... ok [INFO] [stdout] test utils::tests::get_repeating_indices_test ... ok [INFO] [stdout] test teams::tests::test_timed_action_applier ... ok [INFO] [stdout] test teams::transitions::tests::test_time_until_energization ... ok [INFO] [stdout] test utils::tests::sorted_intersection_test ... ok [INFO] [stdout] test utils::tests::test_distance_matrix_average ... ok [INFO] [stdout] test utils::tests::are_indices_sorted_test ... ok [INFO] [stdout] test teams::integration_tests::simulation_test_pf0_pe0_1_team ... ok [INFO] [stdout] test policy::tests::longest_path_lengths_unreachable_test - should panic ... ok [INFO] [stdout] test teams::transitions::tests::test_time_until_energization_progress - should panic ... ok [INFO] [stdout] test io::fs::solution::tests::solution_binary_save_test ... ok [INFO] [stdout] test teams::integration_tests::stationary_policy_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/server-96601b2ed8a5d841) [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] [stderr] Doc-tests dmslib [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" "ee1f2f0f73b01be25da0d39271089c0127f60c6b24d366eae49de955f02fc44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1f2f0f73b01be25da0d39271089c0127f60c6b24d366eae49de955f02fc44d", kill_on_drop: false }` [INFO] [stdout] ee1f2f0f73b01be25da0d39271089c0127f60c6b24d366eae49de955f02fc44d