[INFO] cloning repository https://github.com/Golovolastik/blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Golovolastik/blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolovolastik%2Fblog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolovolastik%2Fblog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c61908057fb071b734eb9e74837ec199f1e253bd [INFO] checking Golovolastik/blog against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolovolastik%2Fblog" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Golovolastik/blog 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] started tweaking git repo https://github.com/Golovolastik/blog [INFO] finished tweaking git repo https://github.com/Golovolastik/blog [INFO] tweaked toml for git repo https://github.com/Golovolastik/blog written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Golovolastik/blog 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded commoncrypto v0.2.0 [INFO] [stderr] Downloaded commoncrypto-sys v0.2.0 [INFO] [stderr] Downloaded crypto-hash v0.3.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded pest_meta v2.7.5 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [INFO] [stderr] Downloaded pest_generator v2.7.5 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] [stderr] Downloaded pest v2.7.5 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded tokio v1.35.0 [INFO] [stderr] Downloaded web-sys v0.3.66 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded syn v2.0.41 [INFO] [stderr] Downloaded pest_derive v2.7.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.52 [INFO] [stderr] Downloaded thiserror v1.0.52 [INFO] [stderr] Downloaded async-trait v0.1.74 [INFO] [stderr] Downloaded phf_shared v0.11.2 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.6 [INFO] [stderr] Downloaded postgres-types v0.2.6 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded postgres v0.19.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1ea8af5373b927ec0258bc903f5ce7dd9263ceaa83055a241832e52f62aba9ea [INFO] running `Command { std: "docker" "start" "-a" "1ea8af5373b927ec0258bc903f5ce7dd9263ceaa83055a241832e52f62aba9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea8af5373b927ec0258bc903f5ce7dd9263ceaa83055a241832e52f62aba9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea8af5373b927ec0258bc903f5ce7dd9263ceaa83055a241832e52f62aba9ea", kill_on_drop: false }` [INFO] [stdout] 1ea8af5373b927ec0258bc903f5ce7dd9263ceaa83055a241832e52f62aba9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 731fbc56c1208bdff348955726c6771e7db04253d1b80ab94586bd3a41a25df3 [INFO] running `Command { std: "docker" "start" "-a" "731fbc56c1208bdff348955726c6771e7db04253d1b80ab94586bd3a41a25df3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking course_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/socket.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Read` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/socket.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/socket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/socket.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/socket.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Read` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/socket.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `postgres` is imported redundantly [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use postgres; [INFO] [stdout] | ^^^^^^^^ the item `postgres` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserRepository`, `User` [INFO] [stdout] --> src/db.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::user::{User, UserRepository}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/socket.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres` [INFO] [stdout] --> src/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use postgres; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/socket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/socket.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/socket.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `postgres` is imported redundantly [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use postgres; [INFO] [stdout] | ^^^^^^^^ the item `postgres` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserRepository`, `User` [INFO] [stdout] --> src/db.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::user::{User, UserRepository}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres` [INFO] [stdout] --> src/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use postgres; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/socket.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | let timestamp = chrono::Utc::now().timestamp_nanos(); // Используем временную метку [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/socket.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | let timestamp = chrono::Utc::now().timestamp_nanos(); // Используем временную метку [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/socket.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle_get_request(stream: &mut TcpStream, buffer: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/socket.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle_get_request(stream: &mut TcpStream, buffer: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/socket.rs:67:140 [INFO] [stdout] | [INFO] [stdout] 67 | ..._manager: &mut SessionManager, user: User) -> std::io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/socket.rs:67:140 [INFO] [stdout] | [INFO] [stdout] 67 | ..._manager: &mut SessionManager, user: User) -> std::io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/socket.rs:191:71 [INFO] [stdout] | [INFO] [stdout] 191 | fn handle_user_page(stream: &mut TcpStream, username: Option, db: &mut PostgresUserRepository) -> std::io::Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/socket.rs:191:71 [INFO] [stdout] | [INFO] [stdout] 191 | fn handle_user_page(stream: &mut TcpStream, username: Option, db: &mut PostgresUserRepository) -> std::io::Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/socket.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let request = std::str::from_utf8(&buffer).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/socket.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let request = std::str::from_utf8(&buffer).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let mut user = crate::user::User::new(); [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/socket.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let mut user = crate::user::User::new(); [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: unused variable: `data` [INFO] [stdout] --> src/db.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(data) = Some(row.get::(1)) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/db.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 45 | query => { [INFO] [stdout] | ----- matches any value [INFO] [stdout] ... [INFO] [stdout] 50 | _ => println!("Something went wrong!") [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/db.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => println!("Something went wrong!"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/db.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(data) = Some(row.get::(1)) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/db.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 45 | query => { [INFO] [stdout] | ----- matches any value [INFO] [stdout] ... [INFO] [stdout] 50 | _ => println!("Something went wrong!") [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/db.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => println!("Something went wrong!"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/db.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/db.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(num) => println!("Undefined behavior"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut client = Client::connect("postgresql://postgres:example@localhost:5432/blog", NoTls)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut admin = PostgresUserRepository::new(client); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/db.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/db.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(num) => println!("Undefined behavior"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut client = Client::connect("postgresql://postgres:example@localhost:5432/blog", NoTls)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut admin = PostgresUserRepository::new(client); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_username` is never used [INFO] [stdout] --> src/socket.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl SessionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_username(&self, session_id: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/socket.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn read_file(filename: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_user_page` is never used [INFO] [stdout] --> src/socket.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn handle_user_page(stream: &mut TcpStream, username: Option, db: &mut PostgresUserRepository) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Error` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Error; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/socket.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | db.add_post(name, post.unwrap()); [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] 259 | let _ = db.add_post(name, post.unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_username` is never used [INFO] [stdout] --> src/socket.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl SessionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_username(&self, session_id: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/socket.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn read_file(filename: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_user_page` is never used [INFO] [stdout] --> src/socket.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn handle_user_page(stream: &mut TcpStream, username: Option, db: &mut PostgresUserRepository) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Error` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Error; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/db.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | &posts.push(record); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = &posts.push(record); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/socket.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | db.add_post(name, post.unwrap()); [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] 259 | let _ = db.add_post(name, post.unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/db.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | &posts.push(record); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = &posts.push(record); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.48s [INFO] running `Command { std: "docker" "inspect" "731fbc56c1208bdff348955726c6771e7db04253d1b80ab94586bd3a41a25df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731fbc56c1208bdff348955726c6771e7db04253d1b80ab94586bd3a41a25df3", kill_on_drop: false }` [INFO] [stdout] 731fbc56c1208bdff348955726c6771e7db04253d1b80ab94586bd3a41a25df3 [INFO] checking Golovolastik/blog against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolovolastik%2Fblog" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Golovolastik/blog 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] started tweaking git repo https://github.com/Golovolastik/blog [INFO] finished tweaking git repo https://github.com/Golovolastik/blog [INFO] tweaked toml for git repo https://github.com/Golovolastik/blog written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Golovolastik/blog 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7bf8730fee230a1419c1b25c1bad80214315b92422080f83c75e1456c9a77bc8 [INFO] running `Command { std: "docker" "start" "-a" "7bf8730fee230a1419c1b25c1bad80214315b92422080f83c75e1456c9a77bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bf8730fee230a1419c1b25c1bad80214315b92422080f83c75e1456c9a77bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf8730fee230a1419c1b25c1bad80214315b92422080f83c75e1456c9a77bc8", kill_on_drop: false }` [INFO] [stdout] 7bf8730fee230a1419c1b25c1bad80214315b92422080f83c75e1456c9a77bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 670c2aa0006995c4eff92b33e6e8e77ea0834ae50313597671e2286b0eb1e33c [INFO] running `Command { std: "docker" "start" "-a" "670c2aa0006995c4eff92b33e6e8e77ea0834ae50313597671e2286b0eb1e33c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/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] 335 | 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.5.0/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] 355 | 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.5.0/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] 378 | buf_get_impl!(self, u16::from_ne_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.5.0/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] 398 | 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.5.0/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] 418 | 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.5.0/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] 441 | buf_get_impl!(self, i16::from_ne_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.5.0/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] 461 | 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.5.0/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] 481 | 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.5.0/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] 504 | buf_get_impl!(self, u32::from_ne_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.5.0/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] 524 | 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.5.0/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] 544 | 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.5.0/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] 567 | buf_get_impl!(self, i32::from_ne_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.5.0/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] 587 | 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.5.0/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] 607 | 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.5.0/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] 630 | buf_get_impl!(self, u64::from_ne_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.5.0/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] 650 | 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.5.0/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] 670 | 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.5.0/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] 693 | buf_get_impl!(self, i64::from_ne_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.5.0/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] 713 | 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.5.0/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] 733 | 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.5.0/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] 756 | buf_get_impl!(self, u128::from_ne_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.5.0/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] 776 | 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.5.0/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] 796 | 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] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/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] 819 | buf_get_impl!(self, i128::from_ne_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 ucd-trie v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stdout] error: aborting due to 24 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 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "670c2aa0006995c4eff92b33e6e8e77ea0834ae50313597671e2286b0eb1e33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670c2aa0006995c4eff92b33e6e8e77ea0834ae50313597671e2286b0eb1e33c", kill_on_drop: false }` [INFO] [stdout] 670c2aa0006995c4eff92b33e6e8e77ea0834ae50313597671e2286b0eb1e33c