[INFO] cloning repository https://github.com/TheTw3ys/empire_overview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheTw3ys/empire_overview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTw3ys%2Fempire_overview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTw3ys%2Fempire_overview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05625e133a181454379e2ef3ab497860cf0cadd5 [INFO] testing TheTw3ys/empire_overview against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTw3ys%2Fempire_overview" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheTw3ys/empire_overview [INFO] finished tweaking git repo https://github.com/TheTw3ys/empire_overview [INFO] tweaked toml for git repo https://github.com/TheTw3ys/empire_overview written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheTw3ys/empire_overview on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 305 packages to latest Rust 1.96.0-nightly compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding mongodb v2.8.2 (available: v3.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0f925cc85fad567060f271864f24f62a68b8cb2a7c23758e080874f36f5469b [INFO] running `Command { std: "docker" "start" "-a" "b0f925cc85fad567060f271864f24f62a68b8cb2a7c23758e080874f36f5469b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0f925cc85fad567060f271864f24f62a68b8cb2a7c23758e080874f36f5469b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f925cc85fad567060f271864f24f62a68b8cb2a7c23758e080874f36f5469b", kill_on_drop: false }` [INFO] [stdout] b0f925cc85fad567060f271864f24f62a68b8cb2a7c23758e080874f36f5469b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0ce791f1307d839def9523a4c3605d84a25c20306a6e00afeea589b7a5c1605 [INFO] running `Command { std: "docker" "start" "-a" "d0ce791f1307d839def9523a4c3605d84a25c20306a6e00afeea589b7a5c1605", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling resolv-conf v0.7.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling sha256 v1.6.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling actix-http v3.12.0 [INFO] [stderr] Compiling actix-web v4.13.0 [INFO] [stderr] Compiling actix-files v0.6.10 [INFO] [stderr] Compiling empire_overview v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/lib/structures.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap}; [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: `std::sync::Mutex` [INFO] [stdout] --> src/lib/structures.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/logic_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/routes.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{Responder, Result, get, web::{self, Json}, put}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/routes.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::{Client, Collection}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/routes.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::structures::{AppState, Player}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/routes.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn get_player(data: web::Data,path: web::Path<(String)>) -> Result { [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] 8 - pub async fn get_player(data: web::Data,path: web::Path<(String)>) -> Result { [INFO] [stdout] 8 + pub async fn get_player(data: web::Data,path: web::Path) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | /// The Web-Server starts here [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | / App::new() [INFO] [stdout] 19 | | .app_data(web::Data::new(AppState{db_client : client.clone()})) [INFO] [stdout] 20 | | .service(routes::get_player) [INFO] [stdout] ... | [INFO] [stdout] 24 | | .service(Files::new("/",Path::new("public").to_str().unwrap()).index_file("index.html")) [INFO] [stdout] | |____________________________________________________________________________________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alliances` [INFO] [stdout] --> src/logic_tree.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let alliances: Collection = database.collection("alliances"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alliances` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> src/logic_tree.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let players: Collection = database.collection("players"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Info` is never constructed [INFO] [stdout] --> src/lib/structures.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Info { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_name`, `update_position`, `update_alliances`, and `update_current_alliance` are never used [INFO] [stdout] --> src/lib/structures.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 41 | pub fn update_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn update_position(&mut self, position: Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn update_alliances(&mut self, alliance_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_current_alliance(&mut self, new_alliance: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_sisters`, `remove_sister`, and `remove_sisters` are never used [INFO] [stdout] --> src/lib/structures.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Alliance { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn add_sisters(&mut self, sisters: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn remove_sister(&mut self, sister_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_sisters(&mut self,alliance_ids: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alliancelist` is never constructed [INFO] [stdout] --> src/lib/structures.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Alliancelist(pub HashSet); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllPlayers` is never constructed [INFO] [stdout] --> src/lib/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct AllPlayers(pub HashSet); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user` is never used [INFO] [stdout] --> src/logic_tree.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn create_user(collection:Collection,player:Player) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "d0ce791f1307d839def9523a4c3605d84a25c20306a6e00afeea589b7a5c1605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ce791f1307d839def9523a4c3605d84a25c20306a6e00afeea589b7a5c1605", kill_on_drop: false }` [INFO] [stdout] d0ce791f1307d839def9523a4c3605d84a25c20306a6e00afeea589b7a5c1605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe194432252419fe776cd2849be7dc773862d39a2718116921cac44d6987a0a [INFO] running `Command { std: "docker" "start" "-a" "ffe194432252419fe776cd2849be7dc773862d39a2718116921cac44d6987a0a", kill_on_drop: false }` [INFO] [stderr] Compiling empire_overview v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/lib/structures.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap}; [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: `std::sync::Mutex` [INFO] [stdout] --> src/lib/structures.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/logic_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/routes.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{Responder, Result, get, web::{self, Json}, put}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/routes.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::{Client, Collection}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/routes.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::structures::{AppState, Player}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/routes.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn get_player(data: web::Data,path: web::Path<(String)>) -> Result { [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] 8 - pub async fn get_player(data: web::Data,path: web::Path<(String)>) -> Result { [INFO] [stdout] 8 + pub async fn get_player(data: web::Data,path: web::Path) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | /// The Web-Server starts here [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | / App::new() [INFO] [stdout] 19 | | .app_data(web::Data::new(AppState{db_client : client.clone()})) [INFO] [stdout] 20 | | .service(routes::get_player) [INFO] [stdout] ... | [INFO] [stdout] 24 | | .service(Files::new("/",Path::new("public").to_str().unwrap()).index_file("index.html")) [INFO] [stdout] | |____________________________________________________________________________________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alliances` [INFO] [stdout] --> src/logic_tree.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let alliances: Collection = database.collection("alliances"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alliances` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> src/logic_tree.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let players: Collection = database.collection("players"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Info` is never constructed [INFO] [stdout] --> src/lib/structures.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Info { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_name`, `update_position`, `update_alliances`, and `update_current_alliance` are never used [INFO] [stdout] --> src/lib/structures.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 41 | pub fn update_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn update_position(&mut self, position: Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn update_alliances(&mut self, alliance_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_current_alliance(&mut self, new_alliance: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_sisters`, `remove_sister`, and `remove_sisters` are never used [INFO] [stdout] --> src/lib/structures.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl Alliance { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn add_sisters(&mut self, sisters: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn remove_sister(&mut self, sister_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_sisters(&mut self,alliance_ids: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alliancelist` is never constructed [INFO] [stdout] --> src/lib/structures.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Alliancelist(pub HashSet); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllPlayers` is never constructed [INFO] [stdout] --> src/lib/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct AllPlayers(pub HashSet); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user` is never used [INFO] [stdout] --> src/logic_tree.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn create_user(collection:Collection,player:Player) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "ffe194432252419fe776cd2849be7dc773862d39a2718116921cac44d6987a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe194432252419fe776cd2849be7dc773862d39a2718116921cac44d6987a0a", kill_on_drop: false }` [INFO] [stdout] ffe194432252419fe776cd2849be7dc773862d39a2718116921cac44d6987a0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2b2423f2bd115cca68a7af471d34d9067754280f7956ed0a2af49cecda0b77d [INFO] running `Command { std: "docker" "start" "-a" "f2b2423f2bd115cca68a7af471d34d9067754280f7956ed0a2af49cecda0b77d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `collections::HashMap` [INFO] [stderr] --> src/lib/structures.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/lib/structures.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> src/logic_tree.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `put` [INFO] [stderr] --> src/routes.rs:1:60 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{Responder, Result, get, web::{self, Json}, put}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Client` [INFO] [stderr] --> src/routes.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use mongodb::{Client, Collection}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Player` [INFO] [stderr] --> src/routes.rs:5:40 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::lib::structures::{AppState, Player}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/routes.rs:8:67 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn get_player(data: web::Data,path: web::Path<(String)>) -> Result { [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] 8 - pub async fn get_player(data: web::Data,path: web::Path<(String)>) -> Result { [INFO] [stderr] 8 + pub async fn get_player(data: web::Data,path: web::Path) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | /// The Web-Server starts here [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 18 | / App::new() [INFO] [stderr] 19 | | .app_data(web::Data::new(AppState{db_client : client.clone()})) [INFO] [stderr] 20 | | .service(routes::get_player) [INFO] [stderr] ... | [INFO] [stderr] 24 | | .service(Files::new("/",Path::new("public").to_str().unwrap()).index_file("index.html")) [INFO] [stderr] | |____________________________________________________________________________________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alliances` [INFO] [stderr] --> src/logic_tree.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let alliances: Collection = database.collection("alliances"); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alliances` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `players` [INFO] [stderr] --> src/logic_tree.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let players: Collection = database.collection("players"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stderr] [INFO] [stderr] warning: struct `Info` is never constructed [INFO] [stderr] --> src/lib/structures.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Info { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `update_name`, `update_position`, `update_alliances`, and `update_current_alliance` are never used [INFO] [stderr] --> src/lib/structures.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 40 | impl Player { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 41 | pub fn update_name(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn update_position(&mut self, position: Point) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn update_alliances(&mut self, alliance_id: i64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn update_current_alliance(&mut self, new_alliance: i64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `add_sisters`, `remove_sister`, and `remove_sisters` are never used [INFO] [stderr] --> src/lib/structures.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 87 | impl Alliance { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn add_sisters(&mut self, sisters: Vec){ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub fn remove_sister(&mut self, sister_id: i64) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn remove_sisters(&mut self,alliance_ids: Vec){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Alliancelist` is never constructed [INFO] [stderr] --> src/lib/structures.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 106 | pub struct Alliancelist(pub HashSet); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AllPlayers` is never constructed [INFO] [stderr] --> src/lib/structures.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct AllPlayers(pub HashSet); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_user` is never used [INFO] [stderr] --> src/logic_tree.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | async fn create_user(collection:Collection,player:Player) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `empire_overview` (bin "empire_overview" test) generated 16 warnings (run `cargo fix --bin "empire_overview" -p empire_overview --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/empire_overview-e84d4b4e083c6ba2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2b2423f2bd115cca68a7af471d34d9067754280f7956ed0a2af49cecda0b77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b2423f2bd115cca68a7af471d34d9067754280f7956ed0a2af49cecda0b77d", kill_on_drop: false }` [INFO] [stdout] f2b2423f2bd115cca68a7af471d34d9067754280f7956ed0a2af49cecda0b77d