[INFO] cloning repository https://github.com/cosmosdevs/goz_scoring [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosmosdevs/goz_scoring" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmosdevs%2Fgoz_scoring", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmosdevs%2Fgoz_scoring'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f5e32860eb10a65ba73c6367920758a0add5208 [INFO] building cosmosdevs/goz_scoring against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmosdevs%2Fgoz_scoring" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmosdevs/goz_scoring on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cosmosdevs/goz_scoring [INFO] finished tweaking git repo https://github.com/cosmosdevs/goz_scoring [INFO] tweaked toml for git repo https://github.com/cosmosdevs/goz_scoring written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/cosmosdevs/goz_scoring already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3c359853f7c987c90f4f6ab43065f595810af77fef41df4de4959b069465ef1 [INFO] running `Command { std: "docker" "start" "-a" "a3c359853f7c987c90f4f6ab43065f595810af77fef41df4de4959b069465ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3c359853f7c987c90f4f6ab43065f595810af77fef41df4de4959b069465ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c359853f7c987c90f4f6ab43065f595810af77fef41df4de4959b069465ef1", kill_on_drop: false }` [INFO] [stdout] a3c359853f7c987c90f4f6ab43065f595810af77fef41df4de4959b069465ef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae3f9946ba9421f23405d93e617246c2203b2c0b7055422036df8e6fcd9510e9 [INFO] running `Command { std: "docker" "start" "-a" "ae3f9946ba9421f23405d93e617246c2203b2c0b7055422036df8e6fcd9510e9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling canonical-path v2.0.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling cadence v0.20.0 [INFO] [stderr] Compiling signal-hook v0.1.15 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling color-backtrace v0.3.0 [INFO] [stderr] Compiling anomaly v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling prost-amino v0.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.2 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling prost-amino-derive v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling signature_derive v1.0.0-pre.2 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling gumdrop_derive v0.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.33 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling signature v1.0.1 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling elliptic-curve v0.3.0 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling ed25519 v1.0.1 [INFO] [stderr] Compiling k256 v0.1.1 [INFO] [stderr] Compiling ecdsa v0.5.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling signatory v0.19.0 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling signatory-secp256k1 v0.19.0 [INFO] [stderr] Compiling signatory-dalek v0.19.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling abscissa_derive v0.5.0 [INFO] [stderr] Compiling tracing v0.1.15 [INFO] [stderr] Compiling gumdrop v0.7.0 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling async-tungstenite v0.4.2 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_bytes v0.11.4 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling tracing-subscriber v0.1.6 [INFO] [stderr] Compiling tai64 v3.1.0 [INFO] [stderr] Compiling tendermint v0.13.0 (https://github.com/iqlusioninc/tendermint-rs.git?branch=zaki-event-subscribe#aa60b6ac) [INFO] [stderr] Compiling warp v0.2.3 [INFO] [stderr] Compiling abscissa_core v0.5.2 [INFO] [stderr] Compiling abscissa_tokio v0.5.1 [INFO] [stderr] Compiling relayer-modules v0.1.0 (https://github.com/iqlusioninc/ibc-rs.git?branch=poldsam-zaki-ibc-events#8fe0f900) [INFO] [stderr] Compiling sagan v0.0.0 (https://github.com/iqlusioninc/sagan.git?branch=zaki-sagan-collect-events#9c166a9c) [INFO] [stderr] Compiling goz_scoring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | /// Compute all the scoring for an opaque packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | / IBCEvent::OpaquePacket(ref inner_event) => { [INFO] [stdout] 132 | | status_ok!("Processing oqaque packet", " got event"); [INFO] [stdout] 133 | | if let Some(tx_hashes) = inner_event.data.get("tx.hash") { [INFO] [stdout] 134 | | if let Some(hash) = tx_hashes.get(0) { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | ... /// Don't double count packets [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | / ... if !self.observed_transactions.contains(hash) { [INFO] [stdout] 137 | | ... status_ok!("Processing oqaque packet", " Hash Unknown"); [INFO] [stdout] 138 | | ... [INFO] [stdout] 139 | | ... self.observed_transactions.insert(hash.clone()); [INFO] [stdout] ... | [INFO] [stdout] 197 | | ... } [INFO] [stdout] 198 | | ... } [INFO] [stdout] | |_______________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | ... /// Populate the source channels data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | ... self.source_channels.insert(dst_channel.clone()); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/commands/start.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/start.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sagan::message::Envelope` [INFO] [stdout] --> src/commands/start.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sagan::message::Envelope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameworkError`, `config::Override` [INFO] [stdout] --> src/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | config::Override, Command, Configurable, FrameworkError, Help, Options, Runnable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.scores` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/application.rs:167:69 [INFO] [stdout] | [INFO] [stdout] 160 | ... self.get_team_by_address(sender_address) [INFO] [stdout] | ---------------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 167 | ... let score = self [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 168 | | ... .scores [INFO] [stdout] 169 | | ... .entry(team.clone()) [INFO] [stdout] | |__________________________________------------^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/start.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | mut config: GozScoringConfig, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/application.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub hub_opaque_packets: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub opaque_packets_tx: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub packets_from_hub: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub opaque_packets_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/application.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn print(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/application.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn score_envelope(&mut self, envelope: Envelope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/config.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn build_hashmaps(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.62s [INFO] running `Command { std: "docker" "inspect" "ae3f9946ba9421f23405d93e617246c2203b2c0b7055422036df8e6fcd9510e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3f9946ba9421f23405d93e617246c2203b2c0b7055422036df8e6fcd9510e9", kill_on_drop: false }` [INFO] [stdout] ae3f9946ba9421f23405d93e617246c2203b2c0b7055422036df8e6fcd9510e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a9edd8196a277d4958e857398ce3d5495c61af480ca01a3114ac6c607da22a4 [INFO] running `Command { std: "docker" "start" "-a" "3a9edd8196a277d4958e857398ce3d5495c61af480ca01a3114ac6c607da22a4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | /// Compute all the scoring for an opaque packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | / IBCEvent::OpaquePacket(ref inner_event) => { [INFO] [stdout] 132 | | status_ok!("Processing oqaque packet", " got event"); [INFO] [stdout] 133 | | if let Some(tx_hashes) = inner_event.data.get("tx.hash") { [INFO] [stdout] 134 | | if let Some(hash) = tx_hashes.get(0) { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | ... /// Don't double count packets [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | / ... if !self.observed_transactions.contains(hash) { [INFO] [stdout] 137 | | ... status_ok!("Processing oqaque packet", " Hash Unknown"); [INFO] [stdout] 138 | | ... [INFO] [stdout] 139 | | ... self.observed_transactions.insert(hash.clone()); [INFO] [stdout] ... | [INFO] [stdout] 197 | | ... } [INFO] [stdout] 198 | | ... } [INFO] [stdout] | |_______________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | ... /// Populate the source channels data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | ... self.source_channels.insert(dst_channel.clone()); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/commands/start.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/start.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sagan::message::Envelope` [INFO] [stdout] --> src/commands/start.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sagan::message::Envelope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameworkError`, `config::Override` [INFO] [stdout] --> src/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | config::Override, Command, Configurable, FrameworkError, Help, Options, Runnable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.scores` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/application.rs:167:69 [INFO] [stdout] | [INFO] [stdout] 160 | ... self.get_team_by_address(sender_address) [INFO] [stdout] | ---------------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 167 | ... let score = self [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 168 | | ... .scores [INFO] [stdout] 169 | | ... .entry(team.clone()) [INFO] [stdout] | |__________________________________------------^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling goz_scoring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/start.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | mut config: GozScoringConfig, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/application.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub hub_opaque_packets: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub opaque_packets_tx: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub packets_from_hub: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/application.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub opaque_packets_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/application.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn print(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/application.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn score_envelope(&mut self, envelope: Envelope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/config.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn build_hashmaps(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> tests/acceptance.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> tests/acceptance.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `goz_scoring::config::GozScoringConfig` [INFO] [stdout] --> tests/acceptance.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use goz_scoring::config::GozScoringConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | /// Compute all the scoring for an opaque packet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | / IBCEvent::OpaquePacket(ref inner_event) => { [INFO] [stdout] 132 | | status_ok!("Processing oqaque packet", " got event"); [INFO] [stdout] 133 | | if let Some(tx_hashes) = inner_event.data.get("tx.hash") { [INFO] [stdout] 134 | | if let Some(hash) = tx_hashes.get(0) { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | ... /// Don't double count packets [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | / ... if !self.observed_transactions.contains(hash) { [INFO] [stdout] 137 | | ... status_ok!("Processing oqaque packet", " Hash Unknown"); [INFO] [stdout] 138 | | ... [INFO] [stdout] 139 | | ... self.observed_transactions.insert(hash.clone()); [INFO] [stdout] ... | [INFO] [stdout] 197 | | ... } [INFO] [stdout] 198 | | ... } [INFO] [stdout] | |_______________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/application.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | ... /// Populate the source channels data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | ... self.source_channels.insert(dst_channel.clone()); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/commands/start.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/start.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sagan::message::Envelope` [INFO] [stdout] --> src/commands/start.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sagan::message::Envelope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameworkError`, `config::Override` [INFO] [stdout] --> src/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | config::Override, Command, Configurable, FrameworkError, Help, Options, Runnable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.scores` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/application.rs:167:69 [INFO] [stdout] | [INFO] [stdout] 160 | ... self.get_team_by_address(sender_address) [INFO] [stdout] | ---------------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 167 | ... let score = self [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 168 | | ... .scores [INFO] [stdout] 169 | | ... .entry(team.clone()) [INFO] [stdout] | |__________________________________------------^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/start.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | mut config: GozScoringConfig, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "3a9edd8196a277d4958e857398ce3d5495c61af480ca01a3114ac6c607da22a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9edd8196a277d4958e857398ce3d5495c61af480ca01a3114ac6c607da22a4", kill_on_drop: false }` [INFO] [stdout] 3a9edd8196a277d4958e857398ce3d5495c61af480ca01a3114ac6c607da22a4