[INFO] cloning repository https://github.com/talosto/test-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/talosto/test-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalosto%2Ftest-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalosto%2Ftest-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37c30f46ab316a472f9c5f27056195f821cd213c [INFO] testing talosto/test-backend against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalosto%2Ftest-backend" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/talosto/test-backend on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/talosto/test-backend [INFO] finished tweaking git repo https://github.com/talosto/test-backend [INFO] tweaked toml for git repo https://github.com/talosto/test-backend written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/talosto/test-backend 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef289f1f73b5211e012ce9a5b50ec595e635177bc7eac84465b334cd52655046 [INFO] running `Command { std: "docker" "start" "-a" "ef289f1f73b5211e012ce9a5b50ec595e635177bc7eac84465b334cd52655046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef289f1f73b5211e012ce9a5b50ec595e635177bc7eac84465b334cd52655046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef289f1f73b5211e012ce9a5b50ec595e635177bc7eac84465b334cd52655046", kill_on_drop: false }` [INFO] [stdout] ef289f1f73b5211e012ce9a5b50ec595e635177bc7eac84465b334cd52655046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852b48ba87d9ae32e8cc891370200a9f89eb789085e1b53dd4e9b7508bd39ffa [INFO] running `Command { std: "docker" "start" "-a" "852b48ba87d9ae32e8cc891370200a9f89eb789085e1b53dd4e9b7508bd39ffa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling erased-serde v0.3.23 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling fcm v0.9.2 [INFO] [stderr] Compiling YanPan1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decode` and `encode` [INFO] [stdout] --> src/main.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use urlencoding::{encode, decode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:488:3 [INFO] [stdout] | [INFO] [stdout] 482 | return true; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 488 | return true; [INFO] [stdout] | ^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `places` [INFO] [stdout] --> src/main.rs:526:14 [INFO] [stdout] | [INFO] [stdout] 526 | let (tasks, places, operations, objects, plans, passes, accepts, measures) = select_many().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_places` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objects` [INFO] [stdout] --> src/main.rs:526:34 [INFO] [stdout] | [INFO] [stdout] 526 | let (tasks, places, operations, objects, plans, passes, accepts, measures) = select_many().await; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `user_id` is never read [INFO] [stdout] --> src/main.rs:572:32 [INFO] [stdout] | [INFO] [stdout] 572 | async fn get_money_summary(mut user_id: u32, tasks_type: u32) -> Result, warp::Rejection> { [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: unused variable: `auth` [INFO] [stdout] --> src/main.rs:897:6 [INFO] [stdout] | [INFO] [stdout] 897 | let auth = warp::path!("auth" / String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sendToDevice` should have a snake case name [INFO] [stdout] --> src/main.rs:843:10 [INFO] [stdout] | [INFO] [stdout] 843 | async fn sendToDevice(notification: &Notification, task: &Task, worker: &Worker) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_to_device` [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/main.rs:866:3 [INFO] [stdout] | [INFO] [stdout] 866 | message_builder.data(&map); [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] 866 | let _ = message_builder.data(&map); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkAndSendNewTasks` should have a snake case name [INFO] [stdout] --> src/main.rs:881:10 [INFO] [stdout] | [INFO] [stdout] 881 | async fn checkAndSendNewTasks() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_and_send_new_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:888:3 [INFO] [stdout] | [INFO] [stdout] 888 | sendToDevice(¬ification, task, worker).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 888 | let _ = sendToDevice(¬ification, task, worker).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `getRoutes` should have a snake case name [INFO] [stdout] --> src/main.rs:921:6 [INFO] [stdout] | [INFO] [stdout] 921 | let getRoutes = warp::get().and( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `postRoutes` should have a snake case name [INFO] [stdout] --> src/main.rs:932:6 [INFO] [stdout] | [INFO] [stdout] 932 | let postRoutes = warp::post().and( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `post_routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [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" "852b48ba87d9ae32e8cc891370200a9f89eb789085e1b53dd4e9b7508bd39ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852b48ba87d9ae32e8cc891370200a9f89eb789085e1b53dd4e9b7508bd39ffa", kill_on_drop: false }` [INFO] [stdout] 852b48ba87d9ae32e8cc891370200a9f89eb789085e1b53dd4e9b7508bd39ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4da45e5b360d30c10286ae13a8b86e787b32397d8d948738d931b03e2fea9a [INFO] running `Command { std: "docker" "start" "-a" "7e4da45e5b360d30c10286ae13a8b86e787b32397d8d948738d931b03e2fea9a", kill_on_drop: false }` [INFO] [stderr] Compiling YanPan1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decode` and `encode` [INFO] [stdout] --> src/main.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use urlencoding::{encode, decode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:488:3 [INFO] [stdout] | [INFO] [stdout] 482 | return true; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 488 | return true; [INFO] [stdout] | ^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `places` [INFO] [stdout] --> src/main.rs:526:14 [INFO] [stdout] | [INFO] [stdout] 526 | let (tasks, places, operations, objects, plans, passes, accepts, measures) = select_many().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_places` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objects` [INFO] [stdout] --> src/main.rs:526:34 [INFO] [stdout] | [INFO] [stdout] 526 | let (tasks, places, operations, objects, plans, passes, accepts, measures) = select_many().await; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `user_id` is never read [INFO] [stdout] --> src/main.rs:572:32 [INFO] [stdout] | [INFO] [stdout] 572 | async fn get_money_summary(mut user_id: u32, tasks_type: u32) -> Result, warp::Rejection> { [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: unused variable: `auth` [INFO] [stdout] --> src/main.rs:897:6 [INFO] [stdout] | [INFO] [stdout] 897 | let auth = warp::path!("auth" / String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sendToDevice` should have a snake case name [INFO] [stdout] --> src/main.rs:843:10 [INFO] [stdout] | [INFO] [stdout] 843 | async fn sendToDevice(notification: &Notification, task: &Task, worker: &Worker) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_to_device` [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/main.rs:866:3 [INFO] [stdout] | [INFO] [stdout] 866 | message_builder.data(&map); [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] 866 | let _ = message_builder.data(&map); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkAndSendNewTasks` should have a snake case name [INFO] [stdout] --> src/main.rs:881:10 [INFO] [stdout] | [INFO] [stdout] 881 | async fn checkAndSendNewTasks() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_and_send_new_tasks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:888:3 [INFO] [stdout] | [INFO] [stdout] 888 | sendToDevice(¬ification, task, worker).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 888 | let _ = sendToDevice(¬ification, task, worker).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `getRoutes` should have a snake case name [INFO] [stdout] --> src/main.rs:921:6 [INFO] [stdout] | [INFO] [stdout] 921 | let getRoutes = warp::get().and( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `postRoutes` should have a snake case name [INFO] [stdout] --> src/main.rs:932:6 [INFO] [stdout] | [INFO] [stdout] 932 | let postRoutes = warp::post().and( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `post_routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [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" "7e4da45e5b360d30c10286ae13a8b86e787b32397d8d948738d931b03e2fea9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4da45e5b360d30c10286ae13a8b86e787b32397d8d948738d931b03e2fea9a", kill_on_drop: false }` [INFO] [stdout] 7e4da45e5b360d30c10286ae13a8b86e787b32397d8d948738d931b03e2fea9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33fe7864ccea455533c5381f6cd7a43ce83f51cd6154c964313b2311544614bd [INFO] running `Command { std: "docker" "start" "-a" "33fe7864ccea455533c5381f6cd7a43ce83f51cd6154c964313b2311544614bd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `reqwest::Url` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use reqwest::Url; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `decode` and `encode` [INFO] [stderr] --> src/main.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use urlencoding::{encode, decode}; [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:488:3 [INFO] [stderr] | [INFO] [stderr] 482 | return true; [INFO] [stderr] | ----------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 488 | return true; [INFO] [stderr] | ^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `places` [INFO] [stderr] --> src/main.rs:526:14 [INFO] [stderr] | [INFO] [stderr] 526 | let (tasks, places, operations, objects, plans, passes, accepts, measures) = select_many().await; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_places` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `objects` [INFO] [stderr] --> src/main.rs:526:34 [INFO] [stderr] | [INFO] [stderr] 526 | let (tasks, places, operations, objects, plans, passes, accepts, measures) = select_many().await; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `user_id` is never read [INFO] [stderr] --> src/main.rs:572:32 [INFO] [stderr] | [INFO] [stderr] 572 | async fn get_money_summary(mut user_id: u32, tasks_type: u32) -> Result, warp::Rejection> { [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: unused variable: `auth` [INFO] [stderr] --> src/main.rs:897:6 [INFO] [stderr] | [INFO] [stderr] 897 | let auth = warp::path!("auth" / String) [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stderr] [INFO] [stderr] warning: function `sendToDevice` should have a snake case name [INFO] [stderr] --> src/main.rs:843:10 [INFO] [stderr] | [INFO] [stderr] 843 | async fn sendToDevice(notification: &Notification, task: &Task, worker: &Worker) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_to_device` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:866:3 [INFO] [stderr] | [INFO] [stderr] 866 | message_builder.data(&map); [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] 866 | let _ = message_builder.data(&map); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: function `checkAndSendNewTasks` should have a snake case name [INFO] [stderr] --> src/main.rs:881:10 [INFO] [stderr] | [INFO] [stderr] 881 | async fn checkAndSendNewTasks() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_and_send_new_tasks` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:888:3 [INFO] [stderr] | [INFO] [stderr] 888 | sendToDevice(¬ification, task, worker).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 888 | let _ = sendToDevice(¬ification, task, worker).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `getRoutes` should have a snake case name [INFO] [stderr] --> src/main.rs:921:6 [INFO] [stderr] | [INFO] [stderr] 921 | let getRoutes = warp::get().and( [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `get_routes` [INFO] [stderr] [INFO] [stderr] warning: variable `postRoutes` should have a snake case name [INFO] [stderr] --> src/main.rs:932:6 [INFO] [stderr] | [INFO] [stderr] 932 | let postRoutes = warp::post().and( [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `post_routes` [INFO] [stderr] [INFO] [stderr] warning: `YanPan1` (bin "YanPan1" test) generated 13 warnings (run `cargo fix --bin "YanPan1" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/YanPan1-55669ca48ba34426) [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" "33fe7864ccea455533c5381f6cd7a43ce83f51cd6154c964313b2311544614bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33fe7864ccea455533c5381f6cd7a43ce83f51cd6154c964313b2311544614bd", kill_on_drop: false }` [INFO] [stdout] 33fe7864ccea455533c5381f6cd7a43ce83f51cd6154c964313b2311544614bd