[INFO] cloning repository https://github.com/steadylearner/Rust-Warp-Example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steadylearner/Rust-Warp-Example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteadylearner%2FRust-Warp-Example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteadylearner%2FRust-Warp-Example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f7fb1bb04dd9cbf9ec72f761ccbfa50235d6c19 [INFO] building steadylearner/Rust-Warp-Example against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteadylearner%2FRust-Warp-Example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steadylearner/Rust-Warp-Example on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steadylearner/Rust-Warp-Example [INFO] finished tweaking git repo https://github.com/steadylearner/Rust-Warp-Example [INFO] tweaked toml for git repo https://github.com/steadylearner/Rust-Warp-Example written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/steadylearner/Rust-Warp-Example 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2_sqlite v0.15.0 [INFO] [stderr] Downloaded rusqlite v0.22.0 [INFO] [stderr] Downloaded console v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79c75826f2ae32de2f2de8f06b9f73fed2c6cc360ddb111471d3dc64a2a315b1 [INFO] running `Command { std: "docker" "start" "-a" "79c75826f2ae32de2f2de8f06b9f73fed2c6cc360ddb111471d3dc64a2a315b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79c75826f2ae32de2f2de8f06b9f73fed2c6cc360ddb111471d3dc64a2a315b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c75826f2ae32de2f2de8f06b9f73fed2c6cc360ddb111471d3dc64a2a315b1", kill_on_drop: false }` [INFO] [stdout] 79c75826f2ae32de2f2de8f06b9f73fed2c6cc360ddb111471d3dc64a2a315b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 183d8480f75152536d2808fbea2fbeeba3759cbadbd4370202b605d04d81665b [INFO] running `Command { std: "docker" "start" "-a" "183d8480f75152536d2808fbea2fbeeba3759cbadbd4370202b605d04d81665b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling gamble v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling console v0.10.0 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling rust-argon2 v0.8.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling rusqlite v0.22.0 [INFO] [stderr] Compiling ignore v0.4.14 [INFO] [stderr] Compiling warp v0.2.2 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling r2d2_sqlite v0.15.0 [INFO] [stderr] Compiling globwalk v0.8.0 [INFO] [stderr] Compiling tera v1.2.0 [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/handlers.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uri`, `not_found`, and `redirect` [INFO] [stdout] --> src/handlers/user_handler.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | not_found, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | }, [INFO] [stdout] 9 | redirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | http::{Uri}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode` [INFO] [stdout] --> src/handlers/user_handler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UpdateUserRequest`, `profile::Profile`, and `redirect_to_login` [INFO] [stdout] --> src/handlers/user_handler.rs:25:73 [INFO] [stdout] | [INFO] [stdout] 25 | requests::{NewUserRequest, LoginRequest, UpdateCashRequest, UpdateUserRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | profile::Profile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | redirect_to_login, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/api/handlers.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | .body(b"".to_vec()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/user_handler.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 201 | Ok(temporary_redirect_to_home!()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `temporary_redirect_to_home` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/api/handlers.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | .body(b"".to_vec()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/user_handler.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | Ok(temporary_redirect_to_home!()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `temporary_redirect_to_home` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/api/handlers.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | .body(b"".to_vec()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/user_handler.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | Ok(temporary_redirect_to_home!()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `temporary_redirect_to_home` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateUserRequest` [INFO] [stdout] --> src/routes/user_route.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | requests::{NewUserRequest, LoginRequest, UpdateCashRequest, UpdateUserRequest} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/models/car.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Car { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Car` 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 `0` is never read [INFO] [stdout] --> src/models/car.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct CarList(pub Vec); [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CarList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `user_id`, `car_id`, `price`, and `color` are never read [INFO] [stdout] --> src/models/car_with_user.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CarWithUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub car_id: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CarWithUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/car_with_user.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct CarWithUserList(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CarWithUserList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `stake_amount`, `number_of_participants`, `win`, `created_at`, and `user_id` are never read [INFO] [stdout] --> src/models/game.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 102 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | pub stake_amount: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 104 | pub number_of_participants: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | // 0(false, lost) or 1(true, won) because there is no boolean in SQLite. [INFO] [stdout] 106 | pub win: i8, [INFO] [stdout] | ^^^ [INFO] [stdout] 107 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/game.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct GameList(pub Vec); [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GameList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `win`, `stake_amount`, `number_of_participants`, and `created_at` are never read [INFO] [stdout] --> src/models/game_with_user.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameWithUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub win: i8, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | pub stake_amount: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub number_of_participants: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameWithUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/game_with_user.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GameWithUserList(pub Vec); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GameWithUserList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, gamble v0.0.0 (/opt/rustwide/workdir), multipart v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "183d8480f75152536d2808fbea2fbeeba3759cbadbd4370202b605d04d81665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183d8480f75152536d2808fbea2fbeeba3759cbadbd4370202b605d04d81665b", kill_on_drop: false }` [INFO] [stdout] 183d8480f75152536d2808fbea2fbeeba3759cbadbd4370202b605d04d81665b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 781e783d36594592ced4ab7cd88be5eab10e089e6dbf5ce4f24fd3a708c58026 [INFO] running `Command { std: "docker" "start" "-a" "781e783d36594592ced4ab7cd88be5eab10e089e6dbf5ce4f24fd3a708c58026", kill_on_drop: false }` [INFO] [stderr] Compiling gamble v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/handlers.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uri`, `not_found`, and `redirect` [INFO] [stdout] --> src/handlers/user_handler.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | not_found, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | }, [INFO] [stdout] 9 | redirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | http::{Uri}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode` [INFO] [stdout] --> src/handlers/user_handler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UpdateUserRequest`, `profile::Profile`, and `redirect_to_login` [INFO] [stdout] --> src/handlers/user_handler.rs:25:73 [INFO] [stdout] | [INFO] [stdout] 25 | requests::{NewUserRequest, LoginRequest, UpdateCashRequest, UpdateUserRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | profile::Profile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | redirect_to_login, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/api/handlers.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | .body(b"".to_vec()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/user_handler.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 201 | Ok(temporary_redirect_to_home!()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `temporary_redirect_to_home` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/api/handlers.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | .body(b"".to_vec()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/user_handler.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | Ok(temporary_redirect_to_home!()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `temporary_redirect_to_home` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/api/handlers.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | .body(b"".to_vec()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/handlers/user_handler.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | Ok(temporary_redirect_to_home!()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `temporary_redirect_to_home` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateUserRequest` [INFO] [stdout] --> src/routes/user_route.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | requests::{NewUserRequest, LoginRequest, UpdateCashRequest, UpdateUserRequest} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/models/car.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Car { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Car` 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 `0` is never read [INFO] [stdout] --> src/models/car.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct CarList(pub Vec); [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CarList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `user_id`, `car_id`, `price`, and `color` are never read [INFO] [stdout] --> src/models/car_with_user.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CarWithUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub car_id: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CarWithUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/car_with_user.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct CarWithUserList(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CarWithUserList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `stake_amount`, `number_of_participants`, `win`, `created_at`, and `user_id` are never read [INFO] [stdout] --> src/models/game.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 102 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | pub stake_amount: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 104 | pub number_of_participants: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | // 0(false, lost) or 1(true, won) because there is no boolean in SQLite. [INFO] [stdout] 106 | pub win: i8, [INFO] [stdout] | ^^^ [INFO] [stdout] 107 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/game.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct GameList(pub Vec); [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GameList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `win`, `stake_amount`, `number_of_participants`, and `created_at` are never read [INFO] [stdout] --> src/models/game_with_user.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameWithUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub win: i8, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | pub stake_amount: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub number_of_participants: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameWithUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/game_with_user.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GameWithUserList(pub Vec); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GameWithUserList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, gamble v0.0.0 (/opt/rustwide/workdir), multipart v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "781e783d36594592ced4ab7cd88be5eab10e089e6dbf5ce4f24fd3a708c58026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781e783d36594592ced4ab7cd88be5eab10e089e6dbf5ce4f24fd3a708c58026", kill_on_drop: false }` [INFO] [stdout] 781e783d36594592ced4ab7cd88be5eab10e089e6dbf5ce4f24fd3a708c58026