[INFO] cloning repository https://github.com/dreamerminsk/wiki-langs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dreamerminsk/wiki-langs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerminsk%2Fwiki-langs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerminsk%2Fwiki-langs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3321ae20b2720fe6e3bd7f42db386ec49a63b119 [INFO] checking dreamerminsk/wiki-langs against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerminsk%2Fwiki-langs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dreamerminsk/wiki-langs on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dreamerminsk/wiki-langs [INFO] finished tweaking git repo https://github.com/dreamerminsk/wiki-langs [INFO] tweaked toml for git repo https://github.com/dreamerminsk/wiki-langs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dreamerminsk/wiki-langs 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iana-time-zone v0.1.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a7b1a9bed21666cf58273b708a8a5f323aa18a15a6d347c0694e8daaef2b54d [INFO] running `Command { std: "docker" "start" "-a" "6a7b1a9bed21666cf58273b708a8a5f323aa18a15a6d347c0694e8daaef2b54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a7b1a9bed21666cf58273b708a8a5f323aa18a15a6d347c0694e8daaef2b54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7b1a9bed21666cf58273b708a8a5f323aa18a15a6d347c0694e8daaef2b54d", kill_on_drop: false }` [INFO] [stdout] 6a7b1a9bed21666cf58273b708a8a5f323aa18a15a6d347c0694e8daaef2b54d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cf48038402bd621ab4762cc027cbade86b1a19eb18af71cf5623f1ec06eec2e [INFO] running `Command { std: "docker" "start" "-a" "2cf48038402bd621ab4762cc027cbade86b1a19eb18af71cf5623f1ec06eec2e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking iana-time-zone v0.1.46 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking fern v0.6.1 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking chrono-humanize v0.2.2 [INFO] [stderr] Checking xml5ever v0.16.2 [INFO] [stderr] Checking scraper v0.13.0 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking select v0.5.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking wiki-langs v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tables::add_country` [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::country::{entities::Country, tables::add_country}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tables::add_country` [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::country::{entities::Country, tables::add_country}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fern` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fern; [INFO] [stdout] | ^^^^ the item `fern` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fern` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fern; [INFO] [stdout] | ^^^^ the item `fern` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/app/web/entities/link.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/app/web/entities/link.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/country/entities/country.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | convert::AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/country/entities/country.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/country/entities/country.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | convert::AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `player::Player` [INFO] [stdout] --> src/cuetracker/entities/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use player::Player; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::Event` [INFO] [stdout] --> src/cuetracker/entities/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use event::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/country/entities/country.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `csv` is imported redundantly [INFO] [stdout] --> src/players/tables/segment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv; [INFO] [stdout] | ^^^ the item `csv` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `player::Player` [INFO] [stdout] --> src/cuetracker/entities/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use player::Player; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/players/tables/segment.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::AsRef, ffi::OsStr, io, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `ReadDir` [INFO] [stdout] --> src/players/tables/segments.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | fs::{self, DirEntry, ReadDir}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::Event` [INFO] [stdout] --> src/cuetracker/entities/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use event::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `csv` is imported redundantly [INFO] [stdout] --> src/players/tables/segment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv; [INFO] [stdout] | ^^^ the item `csv` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/players/tables/segments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | iter::Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/players/tables/segment.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{convert::AsRef, ffi::OsStr, io, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/snooker/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `ReadDir` [INFO] [stdout] --> src/players/tables/segments.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | fs::{self, DirEntry, ReadDir}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/players/tables/segments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | iter::Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `naive::MIN_DATE` [INFO] [stdout] --> src/snooker/entities/player.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/snooker/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate`, `naive::MIN_DATE` [INFO] [stdout] --> src/snooker/entities/event.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `naive::MIN_DATE` [INFO] [stdout] --> src/snooker/entities/player.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::snooker::entities::event::Event` [INFO] [stdout] --> src/snooker/entities/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::snooker::entities::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate`, `naive::MIN_DATE` [INFO] [stdout] --> src/snooker/entities/event.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/wiki/entities/inter_wiki.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::snooker::entities::event::Event` [INFO] [stdout] --> src/snooker/entities/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::snooker::entities::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/wiki/entities/inter_wiki.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/snooker/entities/player.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/snooker/entities/player.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/snooker/entities/event.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/snooker/entities/event.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{naive::MIN_DATE, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_id` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let random_id: u32 = rng.gen_range(std::ops::Range { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country` [INFO] [stdout] --> src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let country = Country::from(pl.nation); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_id` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let random_id: u32 = rng.gen_range(std::ops::Range { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `country` [INFO] [stdout] --> src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let country = Country::from(pl.nation); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/players/tables/segments.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut entries = fs::read_dir(path)? [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: variable does not need to be mutable [INFO] [stdout] --> src/players/tables/segments.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut entries = fs::read_dir(path)? [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: struct `NextPlayer` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct NextPlayer(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `put` are never used [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl NextPlayer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 28 | fn get(&mut self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn put(&mut self, np: u32) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_players` is never used [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn scan_players() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Table` is never used [INFO] [stdout] --> src/app/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_no` is never used [INFO] [stdout] --> src/app/tasks/update_countries.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 10 | impl UpdateCountries { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | async fn execute_no(&self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/app/web/html.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn query(u: Url) -> HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wiki` is never used [INFO] [stdout] --> src/country/entities/country.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Country { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub fn wiki(&self, page: &Page) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Event` is never constructed [INFO] [stdout] --> src/cuetracker/entities/event.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_player` is never used [INFO] [stdout] --> src/snooker/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_player(snooker_id: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name` is never used [INFO] [stdout] --> src/snooker/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn extract_name(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_team` is never used [INFO] [stdout] --> src/snooker/mod.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn extract_team(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_nation` is never used [INFO] [stdout] --> src/snooker/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn extract_nation(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_date` is never used [INFO] [stdout] --> src/snooker/mod.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn extract_date(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_ct_id` is never used [INFO] [stdout] --> src/snooker/mod.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_ct_id(page: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_number` is never used [INFO] [stdout] --> src/snooker/mod.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn extract_number(text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOST` is never used [INFO] [stdout] --> src/snooker/urls.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const HOST: &str = "http://www.snooker.org"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULTS` is never used [INFO] [stdout] --> src/snooker/urls.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const RESULTS: &str = "/res/index.asp?template=22&season="; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPCOMING_MATCHES` is never used [INFO] [stdout] --> src/snooker/urls.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const UPCOMING_MATCHES: &str = "/res/index.asp?template=24"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANKINGS` is never used [INFO] [stdout] --> src/snooker/urls.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const RANKINGS: &str = "/res/index.asp?template=31&season="; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEEDINGS` is never used [INFO] [stdout] --> src/snooker/urls.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SEEDINGS: &str = "/res/index.asp?template=32&season="; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINTS` is never used [INFO] [stdout] --> src/snooker/urls.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const POINTS: &str = "/res/index.asp?template=33&season="; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `results` is never used [INFO] [stdout] --> src/snooker/urls.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn results(season: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upcoming_matches` is never used [INFO] [stdout] --> src/snooker/urls.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn upcoming_matches() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rankings` is never used [INFO] [stdout] --> src/snooker/urls.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn rankings(season: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Players` is never constructed [INFO] [stdout] --> src/tables.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Players { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_player` is never used [INFO] [stdout] --> src/tables.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn add_player(player: &Player) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_player_segment` is never used [INFO] [stdout] --> src/tables.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn update_player_segment(segment: &str, player: &Player) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_segment` is never used [INFO] [stdout] --> src/tables.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_segment(player: &Player) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_year_segment` is never used [INFO] [stdout] --> src/tables.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_year_segment(date: NaiveDate) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ct_segment` is never used [INFO] [stdout] --> src/tables.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn get_ct_segment(ctid: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id_segment` is never used [INFO] [stdout] --> src/tables.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_id_segment(id: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerLinks` is never constructed [INFO] [stdout] --> src/tables.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct PlayerLinks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_player_link` is never used [INFO] [stdout] --> src/tables.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_player_link(plink: &PlayerLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_segment` is never used [INFO] [stdout] --> src/tables.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn update_segment(segment: &str, pl: &PlayerLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Events` is never constructed [INFO] [stdout] --> src/tables.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventLinks` is never constructed [INFO] [stdout] --> src/tables.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct EventLinks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_event` is never used [INFO] [stdout] --> src/tables.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_event(elink: &EventLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_esegment` is never used [INFO] [stdout] --> src/tables.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn update_esegment(segment: &str, el: &EventLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lang`, `title`, and `wikidata` are never read [INFO] [stdout] --> src/wiki/entities/page.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | pub lang: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub wikidata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wiki/entities/page.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | tables::remove_country(lang, &c); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = tables::remove_country(lang, &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | tables::add_country(lang, &c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = tables::add_country(lang, &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | tables::remove_country("no", &c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = tables::remove_country("no", &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | tables::add_country("no", &c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = tables::add_country("no", &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NextPlayer` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct NextPlayer(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `put` are never used [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl NextPlayer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 28 | fn get(&mut self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn put(&mut self, np: u32) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_players` is never used [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn scan_players() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Table` is never used [INFO] [stdout] --> src/app/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_no` is never used [INFO] [stdout] --> src/app/tasks/update_countries.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 10 | impl UpdateCountries { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | async fn execute_no(&self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/app/web/html.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn query(u: Url) -> HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wiki` is never used [INFO] [stdout] --> src/country/entities/country.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Country { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub fn wiki(&self, page: &Page) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Event` is never constructed [INFO] [stdout] --> src/cuetracker/entities/event.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_player` is never used [INFO] [stdout] --> src/snooker/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_player(snooker_id: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name` is never used [INFO] [stdout] --> src/snooker/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn extract_name(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_team` is never used [INFO] [stdout] --> src/snooker/mod.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn extract_team(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_nation` is never used [INFO] [stdout] --> src/snooker/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn extract_nation(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_date` is never used [INFO] [stdout] --> src/snooker/mod.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn extract_date(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_ct_id` is never used [INFO] [stdout] --> src/snooker/mod.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_ct_id(page: &Html) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_number` is never used [INFO] [stdout] --> src/snooker/mod.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn extract_number(text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOST` is never used [INFO] [stdout] --> src/snooker/urls.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const HOST: &str = "http://www.snooker.org"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULTS` is never used [INFO] [stdout] --> src/snooker/urls.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const RESULTS: &str = "/res/index.asp?template=22&season="; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPCOMING_MATCHES` is never used [INFO] [stdout] --> src/snooker/urls.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const UPCOMING_MATCHES: &str = "/res/index.asp?template=24"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANKINGS` is never used [INFO] [stdout] --> src/snooker/urls.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const RANKINGS: &str = "/res/index.asp?template=31&season="; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEEDINGS` is never used [INFO] [stdout] --> src/snooker/urls.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SEEDINGS: &str = "/res/index.asp?template=32&season="; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POINTS` is never used [INFO] [stdout] --> src/snooker/urls.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const POINTS: &str = "/res/index.asp?template=33&season="; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `results` is never used [INFO] [stdout] --> src/snooker/urls.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn results(season: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upcoming_matches` is never used [INFO] [stdout] --> src/snooker/urls.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn upcoming_matches() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rankings` is never used [INFO] [stdout] --> src/snooker/urls.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn rankings(season: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Players` is never constructed [INFO] [stdout] --> src/tables.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Players { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_player` is never used [INFO] [stdout] --> src/tables.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn add_player(player: &Player) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_player_segment` is never used [INFO] [stdout] --> src/tables.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn update_player_segment(segment: &str, player: &Player) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_segment` is never used [INFO] [stdout] --> src/tables.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_segment(player: &Player) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_year_segment` is never used [INFO] [stdout] --> src/tables.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_year_segment(date: NaiveDate) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ct_segment` is never used [INFO] [stdout] --> src/tables.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn get_ct_segment(ctid: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id_segment` is never used [INFO] [stdout] --> src/tables.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_id_segment(id: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerLinks` is never constructed [INFO] [stdout] --> src/tables.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct PlayerLinks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_player_link` is never used [INFO] [stdout] --> src/tables.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_player_link(plink: &PlayerLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_segment` is never used [INFO] [stdout] --> src/tables.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn update_segment(segment: &str, pl: &PlayerLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Events` is never constructed [INFO] [stdout] --> src/tables.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventLinks` is never constructed [INFO] [stdout] --> src/tables.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct EventLinks { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_event` is never used [INFO] [stdout] --> src/tables.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_event(elink: &EventLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_esegment` is never used [INFO] [stdout] --> src/tables.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn update_esegment(segment: &str, el: &EventLink) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lang`, `title`, and `wikidata` are never read [INFO] [stdout] --> src/wiki/entities/page.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | pub lang: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub wikidata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wiki/entities/page.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Page { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | tables::remove_country(lang, &c); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = tables::remove_country(lang, &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | tables::add_country(lang, &c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = tables::add_country(lang, &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | tables::remove_country("no", &c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = tables::remove_country("no", &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/tasks/update_countries.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | tables::add_country("no", &c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = tables::add_country("no", &c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2cf48038402bd621ab4762cc027cbade86b1a19eb18af71cf5623f1ec06eec2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf48038402bd621ab4762cc027cbade86b1a19eb18af71cf5623f1ec06eec2e", kill_on_drop: false }` [INFO] [stdout] 2cf48038402bd621ab4762cc027cbade86b1a19eb18af71cf5623f1ec06eec2e [INFO] checking dreamerminsk/wiki-langs against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerminsk%2Fwiki-langs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dreamerminsk/wiki-langs on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dreamerminsk/wiki-langs [INFO] finished tweaking git repo https://github.com/dreamerminsk/wiki-langs [INFO] tweaked toml for git repo https://github.com/dreamerminsk/wiki-langs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dreamerminsk/wiki-langs 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04c21211d55a1dd9308c29087e50d48919998e9c42445e93a046e6a0dba26447 [INFO] running `Command { std: "docker" "start" "-a" "04c21211d55a1dd9308c29087e50d48919998e9c42445e93a046e6a0dba26447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04c21211d55a1dd9308c29087e50d48919998e9c42445e93a046e6a0dba26447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c21211d55a1dd9308c29087e50d48919998e9c42445e93a046e6a0dba26447", kill_on_drop: false }` [INFO] [stdout] 04c21211d55a1dd9308c29087e50d48919998e9c42445e93a046e6a0dba26447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cda56be71686029cbde4ba89572a8558779fe7fa1d6c470c06585d440b2ce964 [INFO] running `Command { std: "docker" "start" "-a" "cda56be71686029cbde4ba89572a8558779fe7fa1d6c470c06585d440b2ce964", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 334 | buf_get_impl!(self, u16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 354 | buf_get_impl!(self, u16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 374 | buf_get_impl!(self, i16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 394 | buf_get_impl!(self, i16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 414 | buf_get_impl!(self, u32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 434 | buf_get_impl!(self, u32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 454 | buf_get_impl!(self, i32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 474 | buf_get_impl!(self, i32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 494 | buf_get_impl!(self, u64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 514 | buf_get_impl!(self, u64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 534 | buf_get_impl!(self, i64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 554 | buf_get_impl!(self, i64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 574 | buf_get_impl!(self, u128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 594 | buf_get_impl!(self, u128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 614 | buf_get_impl!(self, i128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.1/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 634 | buf_get_impl!(self, i128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cda56be71686029cbde4ba89572a8558779fe7fa1d6c470c06585d440b2ce964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda56be71686029cbde4ba89572a8558779fe7fa1d6c470c06585d440b2ce964", kill_on_drop: false }` [INFO] [stdout] cda56be71686029cbde4ba89572a8558779fe7fa1d6c470c06585d440b2ce964