[INFO] cloning repository https://github.com/derek623/keyrock_task [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/derek623/keyrock_task" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderek623%2Fkeyrock_task", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderek623%2Fkeyrock_task'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7df9cca104802b87a8bdaa80c342e3bc8d3ecf2b [INFO] checking derek623/keyrock_task against master#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderek623%2Fkeyrock_task" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/derek623/keyrock_task [INFO] finished tweaking git repo https://github.com/derek623/keyrock_task [INFO] tweaked toml for git repo https://github.com/derek623/keyrock_task written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/derek623/keyrock_task on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/derek623/keyrock_task 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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/server/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fast_log v1.5.55 [INFO] [stderr] Downloaded fastdate v0.1.39 [INFO] [stderr] Downloaded dark-std v0.2.4 [INFO] [stderr] Downloaded min-max-heap v1.3.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 315121f126d6abd0e3d37d6623da2f5cbcbc67cca5c154602f6bb507583eab1b [INFO] running `Command { std: "docker" "start" "-a" "315121f126d6abd0e3d37d6623da2f5cbcbc67cca5c154602f6bb507583eab1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315121f126d6abd0e3d37d6623da2f5cbcbc67cca5c154602f6bb507583eab1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315121f126d6abd0e3d37d6623da2f5cbcbc67cca5c154602f6bb507583eab1b", kill_on_drop: false }` [INFO] [stdout] 315121f126d6abd0e3d37d6623da2f5cbcbc67cca5c154602f6bb507583eab1b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84c50ae517dac8e1b3fa9150249a693fad46d4eefa2b28542f4a161e754929c [INFO] running `Command { std: "docker" "start" "-a" "a84c50ae517dac8e1b3fa9150249a693fad46d4eefa2b28542f4a161e754929c", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/server/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking min-max-heap v1.3.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.25 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking tungstenite v0.19.0 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.19.0 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking fastdate v0.1.39 [INFO] [stderr] Checking dark-std v0.2.4 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking fast_log v1.5.55 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stdout] warning: constant `INVALID_SIZE` is never used [INFO] [stdout] --> server/src/aggregator.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | const INVALID_SIZE: usize = Exchange::VARIANT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] --> server/src/market_data_source.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(VariantCount, Debug, FromPrimitive, Copy, Clone, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Exchange` [INFO] [stdout] 17 | pub enum Exchange { [INFO] [stdout] | -------- `Exchange` 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] --> server/src/market_data_source.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(VariantCount, Debug, FromPrimitive, Copy, Clone, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Exchange` [INFO] [stdout] 17 | pub enum Exchange { [INFO] [stdout] | -------- `Exchange` 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 37.29s [INFO] running `Command { std: "docker" "inspect" "a84c50ae517dac8e1b3fa9150249a693fad46d4eefa2b28542f4a161e754929c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84c50ae517dac8e1b3fa9150249a693fad46d4eefa2b28542f4a161e754929c", kill_on_drop: false }` [INFO] [stdout] a84c50ae517dac8e1b3fa9150249a693fad46d4eefa2b28542f4a161e754929c