[INFO] fetching crate ceylon-core 0.1.0... [INFO] testing ceylon-core-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ceylon-core 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ceylon-core 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ceylon-core 0.1.0 [INFO] tweaked toml for crates.io crate ceylon-core 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ceylon-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] crate crates.io crate ceylon-core 0.1.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 75b58ea6bb496e15a3fca0efbb4395059bfa46967b8e48c1033a6d12f930c387 [INFO] running `Command { std: "docker" "start" "-a" "75b58ea6bb496e15a3fca0efbb4395059bfa46967b8e48c1033a6d12f930c387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b58ea6bb496e15a3fca0efbb4395059bfa46967b8e48c1033a6d12f930c387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b58ea6bb496e15a3fca0efbb4395059bfa46967b8e48c1033a6d12f930c387", kill_on_drop: false }` [INFO] [stdout] 75b58ea6bb496e15a3fca0efbb4395059bfa46967b8e48c1033a6d12f930c387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 085f60493bd752ba452f279ac8fbf6aa219c7d9d343225f307669b3a7501f9ea [INFO] running `Command { std: "docker" "start" "-a" "085f60493bd752ba452f279ac8fbf6aa219c7d9d343225f307669b3a7501f9ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling quinn-udp v0.5.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling quinn-proto v0.11.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling yamux v0.13.3 [INFO] [stderr] Compiling soketto v0.8.0 [INFO] [stderr] Compiling netlink-sys v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling netlink-proto v0.11.3 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quinn v0.11.6 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hickory-proto v0.25.0-alpha.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling multiaddr v0.18.1 [INFO] [stderr] Compiling libp2p-core v0.43.0 [INFO] [stderr] Compiling hickory-resolver v0.25.0-alpha.4 [INFO] [stderr] Compiling libp2p-swarm v0.46.0 [INFO] [stderr] Compiling libp2p-tls v0.6.0 [INFO] [stderr] Compiling libp2p-websocket v0.45.0 [INFO] [stderr] Compiling libp2p-tcp v0.43.0 [INFO] [stderr] Compiling libp2p-noise v0.46.0 [INFO] [stderr] Compiling libp2p-yamux v0.47.0 [INFO] [stderr] Compiling libp2p-quic v0.12.0 [INFO] [stderr] Compiling libp2p-dns v0.43.0 [INFO] [stderr] Compiling libp2p-request-response v0.28.0 [INFO] [stderr] Compiling libp2p-mdns v0.47.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.5.0 [INFO] [stderr] Compiling libp2p-relay v0.19.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.5.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.48.0 [INFO] [stderr] Compiling libp2p-ping v0.46.0 [INFO] [stderr] Compiling libp2p-identify v0.46.0 [INFO] [stderr] Compiling libp2p-autonat v0.14.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.16.0 [INFO] [stderr] Compiling libp2p v0.55.0 [INFO] [stderr] Compiling sangedama v0.1.3 [INFO] [stderr] Compiling ceylon-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/workspace/admin_agent.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [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 import: `sangedama::peer::message::data::NodeMessage` [INFO] [stdout] --> src/workspace/message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sangedama::peer::message::data::NodeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::WorkerAgent` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::WorkerAgent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log_enabled` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::log_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::runtime::{Handle, Runtime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/workspace/uniffied_agent.rs:465:48 [INFO] [stdout] | [INFO] [stdout] 465 | ... if (status){ [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] 465 - if (status){ [INFO] [stdout] 465 + if status { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | agents: Option>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_call_agent_on_connect_list` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_call_agent_on_connect_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:463:78 [INFO] [stdout] | [INFO] [stdout] 463 | ... AgentMessage::AgentRegistrationAck { id,status } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/workspace/uniffied_agent.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_details` [INFO] [stdout] --> src/workspace/worker_agent.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let agent_details = self.details().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/workspace/admin_agent.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AgentBase` is never used [INFO] [stdout] --> src/workspace/agent.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait AgentBase { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/workspace/uniffied_agent.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | config.update_from_file(conf_file.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = config.update_from_file(conf_file.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "085f60493bd752ba452f279ac8fbf6aa219c7d9d343225f307669b3a7501f9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085f60493bd752ba452f279ac8fbf6aa219c7d9d343225f307669b3a7501f9ea", kill_on_drop: false }` [INFO] [stdout] 085f60493bd752ba452f279ac8fbf6aa219c7d9d343225f307669b3a7501f9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a259bf5d4ea596586fa3192cf0da83b429d02b9a65af9b4cd194d77bf7e104db [INFO] running `Command { std: "docker" "start" "-a" "a259bf5d4ea596586fa3192cf0da83b429d02b9a65af9b4cd194d77bf7e104db", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/workspace/admin_agent.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [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 import: `sangedama::peer::message::data::NodeMessage` [INFO] [stdout] --> src/workspace/message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sangedama::peer::message::data::NodeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::WorkerAgent` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::WorkerAgent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log_enabled` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::log_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::runtime::{Handle, Runtime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/workspace/uniffied_agent.rs:465:48 [INFO] [stdout] | [INFO] [stdout] 465 | ... if (status){ [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] 465 - if (status){ [INFO] [stdout] 465 + if status { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | agents: Option>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_call_agent_on_connect_list` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_call_agent_on_connect_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:463:78 [INFO] [stdout] | [INFO] [stdout] 463 | ... AgentMessage::AgentRegistrationAck { id,status } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/workspace/uniffied_agent.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_details` [INFO] [stdout] --> src/workspace/worker_agent.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let agent_details = self.details().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/workspace/admin_agent.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AgentBase` is never used [INFO] [stdout] --> src/workspace/agent.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait AgentBase { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/workspace/uniffied_agent.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | config.update_from_file(conf_file.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = config.update_from_file(conf_file.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ceylon-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EventHandler`, `MessageHandler`, and `Processor` [INFO] [stdout] --> tests/test_agent.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use ceylon_core::{EventHandler, MessageHandler, Processor}; [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 import: `log::log` [INFO] [stdout] --> tests/test_agent.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use log::log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> tests/test_uniffied_agent.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | inputs: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/workspace/admin_agent.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [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 import: `sangedama::peer::message::data::NodeMessage` [INFO] [stdout] --> src/workspace/message.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sangedama::peer::message::data::NodeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::WorkerAgent` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::WorkerAgent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log_enabled` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::log_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::runtime::{Handle, Runtime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/workspace/uniffied_agent.rs:465:48 [INFO] [stdout] | [INFO] [stdout] 465 | ... if (status){ [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] 465 - if (status){ [INFO] [stdout] 465 + if status { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> tests/test_uniffied_agent.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let subscriber = tracing_subscriber::FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `admin_tx` [INFO] [stdout] --> tests/test_uniffied_agent.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | let (admin_tx, admin_rx) = mpsc::channel::(100); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_admin_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> tests/test_uniffied_agent.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum AgentCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_messages` is never used [INFO] [stdout] --> tests/test_uniffied_agent.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestMessageHandler { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | async fn get_messages(&self) -> Vec<(String, Vec, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_connections` is never used [INFO] [stdout] --> tests/test_uniffied_agent.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 47 | impl TestEventHandler { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | async fn get_connections(&self) -> Vec<(String, AgentDetail)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_processed_data` is never used [INFO] [stdout] --> tests/test_uniffied_agent.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 71 | impl TestProcessor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | async fn get_processed_data(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | agents: Option>>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_call_agent_on_connect_list` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_call_agent_on_connect_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:463:78 [INFO] [stdout] | [INFO] [stdout] 463 | ... AgentMessage::AgentRegistrationAck { id,status } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/workspace/uniffied_agent.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_details` [INFO] [stdout] --> src/workspace/worker_agent.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let agent_details = self.details().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/workspace/admin_agent.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> src/workspace/uniffied_agent.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AgentBase` is never used [INFO] [stdout] --> src/workspace/agent.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait AgentBase { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/workspace/uniffied_agent.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | config.update_from_file(conf_file.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = config.update_from_file(conf_file.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.87s [INFO] running `Command { std: "docker" "inspect" "a259bf5d4ea596586fa3192cf0da83b429d02b9a65af9b4cd194d77bf7e104db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a259bf5d4ea596586fa3192cf0da83b429d02b9a65af9b4cd194d77bf7e104db", kill_on_drop: false }` [INFO] [stdout] a259bf5d4ea596586fa3192cf0da83b429d02b9a65af9b4cd194d77bf7e104db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8db55f3605cabef7652c86c9b3e0b30505ef7f0620c2cce6ecce447ed44daae6 [INFO] running `Command { std: "docker" "start" "-a" "8db55f3605cabef7652c86c9b3e0b30505ef7f0620c2cce6ecce447ed44daae6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::SystemTime` [INFO] [stderr] --> src/workspace/admin_agent.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::time::SystemTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sangedama::peer::message::data::NodeMessage` [INFO] [stderr] --> src/workspace/message.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use sangedama::peer::message::data::NodeMessage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::WorkerAgent` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::WorkerAgent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::log_enabled` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use log::log_enabled; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Runtime` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:24:30 [INFO] [stderr] | [INFO] [stderr] 24 | use tokio::runtime::{Handle, Runtime}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | use tracing::{debug, error, info}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/workspace/uniffied_agent.rs:465:48 [INFO] [stderr] | [INFO] [stderr] 465 | ... if (status){ [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] 465 - if (status){ [INFO] [stderr] 465 + if status { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `agents` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:315:9 [INFO] [stderr] | [INFO] [stderr] 315 | agents: Option>>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_call_agent_on_connect_list` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:397:21 [INFO] [stderr] | [INFO] [stderr] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_call_agent_on_connect_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:463:78 [INFO] [stderr] | [INFO] [stderr] 463 | ... AgentMessage::AgentRegistrationAck { id,status } => { [INFO] [stderr] | ^^ help: try ignoring the field: `id: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/workspace/uniffied_agent.rs:397:17 [INFO] [stderr] | [INFO] [stderr] 397 | let mut is_call_agent_on_connect_list: HashMap = HashMap::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `agent_details` [INFO] [stderr] --> src/workspace/worker_agent.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | let agent_details = self.details().clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_details` [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stderr] --> src/workspace/admin_agent.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use tokio::io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stderr] --> src/workspace/uniffied_agent.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio::io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `AgentBase` is never used [INFO] [stderr] --> src/workspace/agent.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | pub trait AgentBase { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/workspace/uniffied_agent.rs:331:17 [INFO] [stderr] | [INFO] [stderr] 331 | config.update_from_file(conf_file.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 331 | let _ = config.update_from_file(conf_file.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `ceylon-core` (lib) generated 17 warnings (run `cargo fix --lib -p ceylon-core` to apply 9 suggestions) [INFO] [stderr] warning: `ceylon-core` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> tests/test_uniffied_agent.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | inputs: Vec, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subscriber` [INFO] [stderr] --> tests/test_uniffied_agent.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | let subscriber = tracing_subscriber::FmtSubscriber::builder() [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscriber` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `admin_tx` [INFO] [stderr] --> tests/test_uniffied_agent.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | let (admin_tx, admin_rx) = mpsc::channel::(100); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_admin_tx` [INFO] [stderr] [INFO] [stderr] warning: variant `Stop` is never constructed [INFO] [stderr] --> tests/test_uniffied_agent.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 12 | enum AgentCommand { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 15 | Stop, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AgentCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_messages` is never used [INFO] [stderr] --> tests/test_uniffied_agent.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 23 | impl TestMessageHandler { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | async fn get_messages(&self) -> Vec<(String, Vec, u64)> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_connections` is never used [INFO] [stderr] --> tests/test_uniffied_agent.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 47 | impl TestEventHandler { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | async fn get_connections(&self) -> Vec<(String, AgentDetail)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_processed_data` is never used [INFO] [stderr] --> tests/test_uniffied_agent.rs:78:14 [INFO] [stderr] | [INFO] [stderr] 71 | impl TestProcessor { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 78 | async fn get_processed_data(&self) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EventHandler`, `MessageHandler`, and `Processor` [INFO] [stderr] --> tests/test_agent.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use ceylon_core::{EventHandler, MessageHandler, Processor}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::log` [INFO] [stderr] --> tests/test_agent.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use log::log; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ceylon-core` (test "test_uniffied_agent") generated 7 warnings [INFO] [stderr] warning: `ceylon-core` (test "test_agent") generated 2 warnings (run `cargo fix --test "test_agent"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ceylon_core-85e3f51fe54e3e53) [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 tests/test_agent.rs (/opt/rustwide/target/debug/deps/test_agent-aa9fd2bec8b90dca) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_worker_agent_creation ... ok [INFO] [stdout] test tests::test_admin_agent_creation ... ok [INFO] [stdout] test tests::test_admin_worker_communication has been running for over 60 seconds [INFO] [stdout] test tests::test_message_broadcasting has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "8db55f3605cabef7652c86c9b3e0b30505ef7f0620c2cce6ecce447ed44daae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db55f3605cabef7652c86c9b3e0b30505ef7f0620c2cce6ecce447ed44daae6", kill_on_drop: false }` [INFO] [stdout] 8db55f3605cabef7652c86c9b3e0b30505ef7f0620c2cce6ecce447ed44daae6