[INFO] cloning repository https://github.com/Lormars/HTB-metapress [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lormars/HTB-metapress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLormars%2FHTB-metapress", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLormars%2FHTB-metapress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcedad9687c3a70c9d50678683bf70213b6bcfd1 [INFO] testing Lormars/HTB-metapress against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLormars%2FHTB-metapress" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lormars/HTB-metapress on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lormars/HTB-metapress [INFO] finished tweaking git repo https://github.com/Lormars/HTB-metapress [INFO] tweaked toml for git repo https://github.com/Lormars/HTB-metapress written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lormars/HTB-metapress 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt-pbkdf v0.10.0 [INFO] [stderr] Downloaded russh-keys v0.43.0 [INFO] [stderr] Downloaded russh-cryptovec v0.7.2 [INFO] [stderr] Downloaded phpass v0.1.3 [INFO] [stderr] Downloaded suppaftp v5.3.1 [INFO] [stderr] Downloaded russh v0.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f84aa307fd506d7e4119e5c0b0594becee708abf5877af5dda0c36877b980d2 [INFO] running `Command { std: "docker" "start" "-a" "7f84aa307fd506d7e4119e5c0b0594becee708abf5877af5dda0c36877b980d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f84aa307fd506d7e4119e5c0b0594becee708abf5877af5dda0c36877b980d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f84aa307fd506d7e4119e5c0b0594becee708abf5877af5dda0c36877b980d2", kill_on_drop: false }` [INFO] [stdout] 7f84aa307fd506d7e4119e5c0b0594becee708abf5877af5dda0c36877b980d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f20d928e8d391a81f731c4d4673d5888dc2f6fd7e6b5f20e1daf861911a435 [INFO] running `Command { std: "docker" "start" "-a" "81f20d928e8d391a81f731c4d4673d5888dc2f6fd7e6b5f20e1daf861911a435", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling bcrypt-pbkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p521 v0.13.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling russh-cryptovec v0.7.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling phpass v0.1.3 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling lazy-regex v3.1.0 [INFO] [stderr] Compiling suppaftp v5.3.1 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling russh-keys v0.43.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling russh v0.43.0 [INFO] [stderr] Compiling neli v0.6.4 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling local-ip-address v0.6.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling metaperss v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::raw::off_t` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::off_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::copy_nonoverlapping` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Credentials` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::booking::{Booking, Credentials}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::MyError` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::errors::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/booking.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/booking.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/booking.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::BASE_URL` [INFO] [stdout] --> src/booking.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::BASE_URL; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Domain`, `SockAddr`, `Type` [INFO] [stdout] --> src/wave.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use socket2::{SockAddr, Domain, Type}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/wave.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/wave.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_ip` [INFO] [stdout] --> src/wave.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use local_ip_address::{list_afinet_netifas, local_ip}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::reply` [INFO] [stdout] --> src/wave.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use warp::reply; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wave.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | if (name.contains("tun0")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - if (name.contains("tun0")) { [INFO] [stdout] 134 + if name.contains("tun0") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/sshClient.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/sshClient.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::off_t; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `code` is assigned to, but never used [INFO] [stdout] --> src/sshClient.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let mut code = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_code` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/sshClient.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut stdout = tokio::io::stdout(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `code` is never read [INFO] [stdout] --> src/sshClient.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | code = Some(exit_status); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sshClient.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut stdout = tokio::io::stdout(); [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: value assigned to `nonce` is never read [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut nonce: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/booking.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Credentials { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] 16 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Credentials` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session` is never read [INFO] [stdout] --> src/sshClient.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SSHClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub session: Session, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `sshClient` should have a snake case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mod sshClient; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ssh_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:43:61 [INFO] [stdout] | [INFO] [stdout] 43 | let booking = Booking::new(http_client.clone(), BASE_URL.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cracker.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | PhPass::try_from(hash)?.verify("partylikearockstar"); [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] 5 | let _ = PhPass::try_from(hash)?.verify("partylikearockstar"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getIp` should have a snake case name [INFO] [stdout] --> src/wave.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn getIp() -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.37s [INFO] running `Command { std: "docker" "inspect" "81f20d928e8d391a81f731c4d4673d5888dc2f6fd7e6b5f20e1daf861911a435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f20d928e8d391a81f731c4d4673d5888dc2f6fd7e6b5f20e1daf861911a435", kill_on_drop: false }` [INFO] [stdout] 81f20d928e8d391a81f731c4d4673d5888dc2f6fd7e6b5f20e1daf861911a435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec01e80c19951fd191db593e88cf4443689f7eeac8d548656f1423f47d087a13 [INFO] running `Command { std: "docker" "start" "-a" "ec01e80c19951fd191db593e88cf4443689f7eeac8d548656f1423f47d087a13", kill_on_drop: false }` [INFO] [stderr] Compiling metaperss v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::raw::off_t` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::off_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::copy_nonoverlapping` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Credentials` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::booking::{Booking, Credentials}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::MyError` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::errors::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/booking.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/booking.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/booking.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::BASE_URL` [INFO] [stdout] --> src/booking.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::BASE_URL; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Domain`, `SockAddr`, `Type` [INFO] [stdout] --> src/wave.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use socket2::{SockAddr, Domain, Type}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/wave.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/wave.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_ip` [INFO] [stdout] --> src/wave.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use local_ip_address::{list_afinet_netifas, local_ip}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::reply` [INFO] [stdout] --> src/wave.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use warp::reply; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/wave.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | if (name.contains("tun0")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - if (name.contains("tun0")) { [INFO] [stdout] 134 + if name.contains("tun0") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/sshClient.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/sshClient.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::off_t; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `code` is assigned to, but never used [INFO] [stdout] --> src/sshClient.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let mut code = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_code` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/sshClient.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut stdout = tokio::io::stdout(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `code` is never read [INFO] [stdout] --> src/sshClient.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | code = Some(exit_status); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sshClient.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut stdout = tokio::io::stdout(); [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: value assigned to `nonce` is never read [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut nonce: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/booking.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Credentials { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] 16 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Credentials` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session` is never read [INFO] [stdout] --> src/sshClient.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SSHClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub session: Session, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `sshClient` should have a snake case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mod sshClient; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ssh_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:43:61 [INFO] [stdout] | [INFO] [stdout] 43 | let booking = Booking::new(http_client.clone(), BASE_URL.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cracker.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | PhPass::try_from(hash)?.verify("partylikearockstar"); [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] 5 | let _ = PhPass::try_from(hash)?.verify("partylikearockstar"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getIp` should have a snake case name [INFO] [stdout] --> src/wave.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn getIp() -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "ec01e80c19951fd191db593e88cf4443689f7eeac8d548656f1423f47d087a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec01e80c19951fd191db593e88cf4443689f7eeac8d548656f1423f47d087a13", kill_on_drop: false }` [INFO] [stdout] ec01e80c19951fd191db593e88cf4443689f7eeac8d548656f1423f47d087a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e489df05676c18bff8808225cf827293ec8496ad78ebd9e96f89d6b8bc6452d [INFO] running `Command { std: "docker" "start" "-a" "2e489df05676c18bff8808225cf827293ec8496ad78ebd9e96f89d6b8bc6452d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::os::unix::raw::off_t` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::raw::off_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ptr::copy_nonoverlapping` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ptr::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Credentials` [INFO] [stderr] --> src/main.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::booking::{Booking, Credentials}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::errors::MyError` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::errors::MyError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warp::Filter` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use warp::Filter; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/booking.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/booking.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/booking.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::BASE_URL` [INFO] [stderr] --> src/booking.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::BASE_URL; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Domain`, `SockAddr`, `Type` [INFO] [stderr] --> src/wave.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use socket2::{SockAddr, Domain, Type}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/wave.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Cursor` [INFO] [stderr] --> src/wave.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Cursor; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `local_ip` [INFO] [stderr] --> src/wave.rs:4:45 [INFO] [stderr] | [INFO] [stderr] 4 | use local_ip_address::{list_afinet_netifas, local_ip}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warp::reply` [INFO] [stderr] --> src/wave.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use warp::reply; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/wave.rs:134:16 [INFO] [stderr] | [INFO] [stderr] 134 | if (name.contains("tun0")) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 134 - if (name.contains("tun0")) { [INFO] [stderr] 134 + if name.contains("tun0") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/sshClient.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stderr] --> src/sshClient.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::io::AsyncWriteExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::os::unix::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stderr] --> src/main.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::unix::raw::off_t; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `code` is assigned to, but never used [INFO] [stderr] --> src/sshClient.rs:164:17 [INFO] [stderr] | [INFO] [stderr] 164 | let mut code = None; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_code` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stdout` [INFO] [stderr] --> src/sshClient.rs:165:17 [INFO] [stderr] | [INFO] [stderr] 165 | let mut stdout = tokio::io::stdout(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `code` is never read [INFO] [stderr] --> src/sshClient.rs:182:21 [INFO] [stderr] | [INFO] [stderr] 182 | code = Some(exit_status); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sshClient.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | let mut stdout = tokio::io::stdout(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `nonce` is never read [INFO] [stderr] --> src/main.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut nonce: Option = None; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field `email` is never read [INFO] [stderr] --> src/booking.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Credentials { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 15 | pub name: String, [INFO] [stderr] 16 | pub email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Credentials` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `session` is never read [INFO] [stderr] --> src/sshClient.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct SSHClient { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 12 | pub session: Session, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `sshClient` should have a snake case name [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | mod sshClient; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `ssh_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:43:61 [INFO] [stderr] | [INFO] [stderr] 43 | let booking = Booking::new(http_client.clone(), BASE_URL.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/cracker.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | PhPass::try_from(hash)?.verify("partylikearockstar"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 5 | let _ = PhPass::try_from(hash)?.verify("partylikearockstar"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: method `getIp` should have a snake case name [INFO] [stderr] --> src/wave.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | fn getIp() -> Option { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `get_ip` [INFO] [stderr] [INFO] [stderr] warning: `metaperss` (bin "metaperss" test) generated 29 warnings (run `cargo fix --bin "metaperss" --tests` to apply 19 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/metaperss-3a9205165ec71801) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e489df05676c18bff8808225cf827293ec8496ad78ebd9e96f89d6b8bc6452d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e489df05676c18bff8808225cf827293ec8496ad78ebd9e96f89d6b8bc6452d", kill_on_drop: false }` [INFO] [stdout] 2e489df05676c18bff8808225cf827293ec8496ad78ebd9e96f89d6b8bc6452d