[INFO] fetching crate hailstorm 0.2.0... [INFO] testing hailstorm-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hailstorm 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate hailstorm 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hailstorm 0.2.0 [INFO] tweaked toml for crates.io crate hailstorm 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hailstorm 0.2.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] crate crates.io crate hailstorm 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cb910c89f804bc8ddfa7dd1d125f3e47f7deb64d2c5ec460a3f4b2efbf5a76d5 [INFO] running `Command { std: "docker" "start" "-a" "cb910c89f804bc8ddfa7dd1d125f3e47f7deb64d2c5ec460a3f4b2efbf5a76d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb910c89f804bc8ddfa7dd1d125f3e47f7deb64d2c5ec460a3f4b2efbf5a76d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb910c89f804bc8ddfa7dd1d125f3e47f7deb64d2c5ec460a3f4b2efbf5a76d5", kill_on_drop: false }` [INFO] [stdout] cb910c89f804bc8ddfa7dd1d125f3e47f7deb64d2c5ec460a3f4b2efbf5a76d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6da0fc28668b6878b54fdd0d589a299a51f26527818276ed64b1786eafe4b65f [INFO] running `Command { std: "docker" "start" "-a" "6da0fc28668b6878b54fdd0d589a299a51f26527818276ed64b1786eafe4b65f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rune-macros v0.12.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling tonic-build v0.8.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling cache-padded v1.3.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ringbuf v0.2.8 [INFO] [stderr] Compiling hailstorm v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rune v0.12.4 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tonic v0.8.3 [INFO] [stderr] Compiling rune-modules v0.12.4 [INFO] [stdout] warning: unused import: `crate::communication::protobuf::grpc::controller_command::Target` [INFO] [stdout] --> src/controller/actor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::communication::protobuf::grpc::controller_command::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentGroup`, `CommandItem`, `ControllerCommand`, and `MultiAgent` [INFO] [stdout] --> src/controller/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | AgentGroup, AgentUpdate, CommandItem, ControllerCommand, LaunchCommand, LoadSimCommand, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | MultiAgent, StopCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimulationDef` [INFO] [stdout] --> src/controller/actor.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::controller::model::simulation::{SimulationDef, SimulationState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/simulation/actor/simulation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mul` and `Sub` [INFO] [stdout] --> src/simulation/actor/simulation.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/communication/upstream/grpc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct UpstreamConnection { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 24 | client: HailstormServiceClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimulationFacade` is never constructed [INFO] [stdout] --> src/simulation/facade/simulation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimulationFacade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `change_bot_state`, and `invoke_handler` are never used [INFO] [stdout] --> src/simulation/facade/simulation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SimulationFacade { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(actor: Addr) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn change_bot_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn invoke_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stopping` is never constructed [INFO] [stdout] --> src/simulation/actor/simulation.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub(crate) enum SimulationState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 271 | Stopping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `simulation_id` is never read [INFO] [stdout] --> src/simulation/actor/simulation.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) struct SimulationStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 285 | pub simulation_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `args` are never read [INFO] [stdout] --> src/simulation/bot/registry.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct FunSignature { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | hash: Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | path: ItemBuf, [INFO] [stdout] 33 | args: DebugArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_bot_models` is never used [INFO] [stdout] --> src/simulation/bot/registry.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl BotRegistry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub(crate) fn count_bot_models(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6da0fc28668b6878b54fdd0d589a299a51f26527818276ed64b1786eafe4b65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da0fc28668b6878b54fdd0d589a299a51f26527818276ed64b1786eafe4b65f", kill_on_drop: false }` [INFO] [stdout] 6da0fc28668b6878b54fdd0d589a299a51f26527818276ed64b1786eafe4b65f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 95c66abbddb8c0a8fc7367ff934c638ca22320e6c60c8bb2c059643376f4620d [INFO] running `Command { std: "docker" "start" "-a" "95c66abbddb8c0a8fc7367ff934c638ca22320e6c60c8bb2c059643376f4620d", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v2.0.8 [INFO] [stderr] Compiling thiserror-impl v2.0.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling tonic-build v0.8.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling hailstorm v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rune-modules v0.12.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tonic v0.8.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stdout] warning: unused import: `crate::communication::protobuf::grpc::controller_command::Target` [INFO] [stdout] --> src/controller/actor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::communication::protobuf::grpc::controller_command::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentGroup`, `CommandItem`, `ControllerCommand`, and `MultiAgent` [INFO] [stdout] --> src/controller/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | AgentGroup, AgentUpdate, CommandItem, ControllerCommand, LaunchCommand, LoadSimCommand, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | MultiAgent, StopCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimulationDef` [INFO] [stdout] --> src/controller/actor.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::controller::model::simulation::{SimulationDef, SimulationState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/simulation/actor/simulation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mul` and `Sub` [INFO] [stdout] --> src/simulation/actor/simulation.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/communication/upstream/grpc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct UpstreamConnection { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 24 | client: HailstormServiceClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimulationFacade` is never constructed [INFO] [stdout] --> src/simulation/facade/simulation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimulationFacade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `change_bot_state`, and `invoke_handler` are never used [INFO] [stdout] --> src/simulation/facade/simulation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SimulationFacade { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(actor: Addr) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn change_bot_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn invoke_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stopping` is never constructed [INFO] [stdout] --> src/simulation/actor/simulation.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub(crate) enum SimulationState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 271 | Stopping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `simulation_id` is never read [INFO] [stdout] --> src/simulation/actor/simulation.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) struct SimulationStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 285 | pub simulation_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `args` are never read [INFO] [stdout] --> src/simulation/bot/registry.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct FunSignature { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | hash: Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | path: ItemBuf, [INFO] [stdout] 33 | args: DebugArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_bot_models` is never used [INFO] [stdout] --> src/simulation/bot/registry.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl BotRegistry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub(crate) fn count_bot_models(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::communication::protobuf::grpc::controller_command::Target` [INFO] [stdout] --> src/controller/actor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::communication::protobuf::grpc::controller_command::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentGroup`, `CommandItem`, `ControllerCommand`, and `MultiAgent` [INFO] [stdout] --> src/controller/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | AgentGroup, AgentUpdate, CommandItem, ControllerCommand, LaunchCommand, LoadSimCommand, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | MultiAgent, StopCommand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimulationDef` [INFO] [stdout] --> src/controller/actor.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::controller::model::simulation::{SimulationDef, SimulationState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/controller/actor.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/simulation/actor/simulation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mul` and `Sub` [INFO] [stdout] --> src/simulation/actor/simulation.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude::*` [INFO] [stdout] --> src/utils/actix/weak_context.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use actix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/agent/builder.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let out = rt [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/agent/builder.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | cfg: Self::Config, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core_addr` [INFO] [stdout] --> src/agent/builder.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | core_addr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/utils/actix/weak_context.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let actor = TestActor(counter.clone()).start(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/communication/upstream/grpc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct UpstreamConnection { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 24 | client: HailstormServiceClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimulationFacade` is never constructed [INFO] [stdout] --> src/simulation/facade/simulation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimulationFacade { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `change_bot_state`, and `invoke_handler` are never used [INFO] [stdout] --> src/simulation/facade/simulation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SimulationFacade { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(actor: Addr) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn change_bot_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn invoke_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stopping` is never constructed [INFO] [stdout] --> src/simulation/actor/simulation.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub(crate) enum SimulationState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 271 | Stopping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `simulation_id` is never read [INFO] [stdout] --> src/simulation/actor/simulation.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) struct SimulationStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 285 | pub simulation_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `args` are never read [INFO] [stdout] --> src/simulation/bot/registry.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct FunSignature { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | hash: Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | path: ItemBuf, [INFO] [stdout] 33 | args: DebugArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "95c66abbddb8c0a8fc7367ff934c638ca22320e6c60c8bb2c059643376f4620d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c66abbddb8c0a8fc7367ff934c638ca22320e6c60c8bb2c059643376f4620d", kill_on_drop: false }` [INFO] [stdout] 95c66abbddb8c0a8fc7367ff934c638ca22320e6c60c8bb2c059643376f4620d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b35a5b08d0e7532780ff0f70d1004ca76833610a52867aa714b1b004ca71d4f8 [INFO] running `Command { std: "docker" "start" "-a" "b35a5b08d0e7532780ff0f70d1004ca76833610a52867aa714b1b004ca71d4f8", kill_on_drop: false }` [INFO] [stderr] Compiling hailstorm v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::communication::protobuf::grpc::controller_command::Target` [INFO] [stderr] --> src/controller/actor.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::communication::protobuf::grpc::controller_command::Target; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AgentGroup`, `CommandItem`, `ControllerCommand`, and `MultiAgent` [INFO] [stderr] --> src/controller/actor.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | AgentGroup, AgentUpdate, CommandItem, ControllerCommand, LaunchCommand, LoadSimCommand, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | MultiAgent, StopCommand, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SimulationDef` [INFO] [stderr] --> src/controller/actor.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::controller::model::simulation::{SimulationDef, SimulationState}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/controller/actor.rs:264:9 [INFO] [stderr] | [INFO] [stderr] 264 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::f64::consts::PI` [INFO] [stderr] --> src/simulation/actor/simulation.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::f64::consts::PI; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mul` and `Sub` [INFO] [stderr] --> src/simulation/actor/simulation.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use std::ops::{Mul, Sub}; [INFO] [stderr] | ^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix::prelude::*` [INFO] [stderr] --> src/utils/actix/weak_context.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | use actix::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/agent/builder.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | let out = rt [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/agent/builder.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | cfg: Self::Config, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `core_addr` [INFO] [stderr] --> src/agent/builder.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | core_addr: Addr, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core_addr` [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/communication/upstream/grpc.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | struct UpstreamConnection { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 24 | client: HailstormServiceClient, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SimulationFacade` is never constructed [INFO] [stderr] --> src/simulation/facade/simulation.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct SimulationFacade { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `change_bot_state`, and `invoke_handler` are never used [INFO] [stderr] --> src/simulation/facade/simulation.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl SimulationFacade { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 13 | pub fn new(actor: Addr) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn change_bot_state( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn invoke_handler( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Stopping` is never constructed [INFO] [stderr] --> src/simulation/actor/simulation.rs:271:5 [INFO] [stderr] | [INFO] [stderr] 266 | pub(crate) enum SimulationState { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 271 | Stopping, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `simulation_id` is never read [INFO] [stderr] --> src/simulation/actor/simulation.rs:285:9 [INFO] [stderr] | [INFO] [stderr] 281 | pub(crate) struct SimulationStats { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 285 | pub simulation_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `hash` and `args` are never read [INFO] [stderr] --> src/simulation/bot/registry.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct FunSignature { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 31 | hash: Hash, [INFO] [stderr] | ^^^^ [INFO] [stderr] 32 | path: ItemBuf, [INFO] [stderr] 33 | args: DebugArgs, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `count_bot_models` is never used [INFO] [stderr] --> src/simulation/bot/registry.rs:195:19 [INFO] [stderr] | [INFO] [stderr] 36 | impl BotRegistry { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 195 | pub(crate) fn count_bot_models(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `actor` [INFO] [stderr] --> src/utils/actix/weak_context.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | let actor = TestActor(counter.clone()).start(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stderr] [INFO] [stderr] warning: `hailstorm` (lib) generated 12 warnings (5 duplicates) [INFO] [stderr] warning: `hailstorm` (lib test) generated 17 warnings (6 duplicates) (run `cargo fix --lib -p hailstorm --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hailstorm-2c41f5ae1ea43cad) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test agent::metrics::storage::actor::test::test_compute_bucket_idx ... ok [INFO] [stdout] test simulation::actor::simulation::test::test_shape_normalization ... ok [INFO] [stdout] test simulation::bot::registry::test::test_build_bot_err ... ok [INFO] [stdout] test simulation::bot::registry::test::test_load_invalid_script ... ok [INFO] [stdout] test simulation::bot::registry::test::test_load_valid_script ... ok [INFO] [stdout] test agent::builder::test::launch_agent ... ok [INFO] [stdout] test simulation::bot::registry::test::test_build_bot_factory ... ok [INFO] [stdout] test simulation::bot::registry::test::test_count_bot_models ... ok [INFO] [stdout] test simulation::compound_id::tests::test_from_internal_id_bad_format ... ok [INFO] [stdout] test simulation::compound_id::tests::test_global_id_for_u32_agent_id ... ok [INFO] [stdout] test simulation::compound_id::tests::test_internal_id_conversion ... ok [INFO] [stdout] test simulation::compound_id::tests::test_into_bytes ... ok [INFO] [stdout] test simulation::bot::registry::test::test_build_bot ... ok [INFO] [stdout] test simulation::compound_id::tests::test_from_internal_id_success ... ok [INFO] [stdout] test simulation::compound_id::tests::test_new_compound_id ... ok [INFO] [stdout] test simulation::rune::extension::storage::module::test::initialize_with_empty_initializer ... ok [INFO] [stdout] test simulation::bot::registry::test::test_reset_script ... ok [INFO] [stdout] test simulation::bot::registry::test::test_load_valid_script_with_bot_registration_error ... ok [INFO] [stdout] test simulation::bot::registry::test::test_model_names ... ok [INFO] [stdout] something else [INFO] [stdout] test simulation::bot::registry::test::test_new_registry_creation ... ok [INFO] [stdout] test utils::varint::test::test_varint ... ok [INFO] [stdout] test utils::varint::test::test_varint_vec ... ok [INFO] [stdout] test simulation::shape::test::test_trapz_parse ... ok [INFO] [stdout] test simulation::rune::extension::env::module::module_tests::module_exposes_read_function ... ok [INFO] [stdout] test simulation::rune::extension::storage::module::test::retrieve_data_from_initialized_storage ... ok [INFO] [stdout] test simulation::rune::extension::storage::module::test::write_and_read_data_from_storage ... ok [INFO] [stdout] test utils::actix::weak_context::tests::test_periodic_task_runs ... ok [INFO] [stdout] test utils::actix::weak_context::tests::test_periodic_task_stops_after_actor_dropped ... ok [INFO] [stdout] test agent::builder::test::launch_grpc_agent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.01s [INFO] [stdout] [INFO] [stderr] Doc-tests hailstorm [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::new (line 94) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId (line 30) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::bot_id (line 184) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId (line 46) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::internal_id (line 164) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::with_agent_id (line 210) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::from_internal_id (line 127) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId (line 38) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::global_id (line 238) ... ok [INFO] [stdout] test src/simulation/compound_id.rs - simulation::compound_id::CompoundId::into_bytes (line 260) ... ok [INFO] [stdout] test src/simulation/rune/extension/storage/initializer/mod.rs - simulation::rune::extension::storage::initializer::StorageInitializerRegistry::initial_values_for (line 35) ... ok [INFO] [stdout] test src/simulation/rune/extension/env/module.rs - simulation::rune::extension::env::module::EnvModuleConf (line 25) ... ok [INFO] [stdout] test src/simulation/rune/extension/env/module.rs - simulation::rune::extension::env::module::EnvModuleConf (line 17) ... ok [INFO] [stdout] test src/utils/actix/weak_context.rs - utils::actix::weak_context::WeakContext::run_interval_weak (line 39) ... ok [INFO] [stdout] test src/simulation/rune/extension/storage/module.rs - simulation::rune::extension::storage::module::StorageModuleArgs::with_initializer (line 45) ... ok [INFO] [stdout] test src/simulation/rune/extension/env/module.rs - simulation::rune::extension::env::module::EnvModuleConf::with_prefix (line 48) ... ok [INFO] [stdout] test src/simulation/rune/extension/env/module.rs - simulation::rune::extension::env::module::module (line 89) ... ok [INFO] [stdout] test src/simulation/rune/extension/storage/module.rs - simulation::rune::extension::storage::module::module (line 82) ... ok [INFO] [stdout] test src/simulation/shape.rs - simulation::shape::parse_shape_fun (line 35) ... ok [INFO] [stdout] test src/utils/actix/synchro_interval_func.rs - utils::actix::synchro_interval_func::SynchroIntervalFunc (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b35a5b08d0e7532780ff0f70d1004ca76833610a52867aa714b1b004ca71d4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35a5b08d0e7532780ff0f70d1004ca76833610a52867aa714b1b004ca71d4f8", kill_on_drop: false }` [INFO] [stdout] b35a5b08d0e7532780ff0f70d1004ca76833610a52867aa714b1b004ca71d4f8