[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#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalosto%2Ftest-backend" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/talosto/test-backend on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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-1-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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97f5d04ac0490ce7d17fb4ef12b290c27c0c24a63172a5657d66521fec4d92c5 [INFO] running `Command { std: "docker" "start" "-a" "97f5d04ac0490ce7d17fb4ef12b290c27c0c24a63172a5657d66521fec4d92c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97f5d04ac0490ce7d17fb4ef12b290c27c0c24a63172a5657d66521fec4d92c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f5d04ac0490ce7d17fb4ef12b290c27c0c24a63172a5657d66521fec4d92c5", kill_on_drop: false }` [INFO] [stdout] 97f5d04ac0490ce7d17fb4ef12b290c27c0c24a63172a5657d66521fec4d92c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b9e4e1586de7813fe1ba7fce9cb1a8bde3b103212d9b85248bb465438775600 [INFO] running `Command { std: "docker" "start" "-a" "1b9e4e1586de7813fe1ba7fce9cb1a8bde3b103212d9b85248bb465438775600", 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 quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [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 lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [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 slab v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.41 [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 ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.3 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling erased-serde v0.3.23 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [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 ipnet v2.5.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling headers v0.3.7 [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 scoped-tls v1.0.0 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [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 55s [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" "1b9e4e1586de7813fe1ba7fce9cb1a8bde3b103212d9b85248bb465438775600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9e4e1586de7813fe1ba7fce9cb1a8bde3b103212d9b85248bb465438775600", kill_on_drop: false }` [INFO] [stdout] 1b9e4e1586de7813fe1ba7fce9cb1a8bde3b103212d9b85248bb465438775600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afc49becf9715592d8a2979b61f02f9f7f6103f596da6a4c6fca286c8e2c96c8 [INFO] running `Command { std: "docker" "start" "-a" "afc49becf9715592d8a2979b61f02f9f7f6103f596da6a4c6fca286c8e2c96c8", 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcuI80Nv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libfcm-33c1c83f2c03861b.rlib,liberased_serde-7e0f7090a4a4c15a.rlib,liburlencoding-685ac8363793e892.rlib,libchrono-69c438a56c1264ec.rlib,libnum_integer-e3cbfc5360665cbd.rlib,libnum_traits-7236e901acc60d1c.rlib,libtime-dbdc1f7f1f5e4f03.rlib,libwarp-c22b66dc6f9efbc9.rlib,libscoped_tls-563b287bd664763c.rlib,libtokio_tungstenite-7777b3366781892a.rlib,libtungstenite-f3f942c293ca890e.rlib,libutf8-d75228722519eff6.rlib,libbyteorder-379f547b04d51d02.rlib,libsha1-3cf925ebe1ff3a66.rlib,libopaque_debug-c0b21531799dfcb1.rlib,libblock_buffer-dc53ced6692ba8c1.rlib,libdigest-4e7c480e6afec479.rlib,libthiserror-5f8b55868fbd0830.rlib,libmultipart-e0669669cfca9272.rlib,libtwoway-92af554b15bbdc87.rlib,libbuf_redux-eb7d028d44155255.rlib,libsafemem-698baee350018e8c.rlib,libquick_error-d40abd8d97f0f2e3.rlib,libtempfile-04e7d98463668fea.rlib,libfastrand-cd0e0f68b19f0b17.rlib,libremove_dir_all-988c28ce6bbf4cfc.rlib,librand-fabeb123d1883220.rlib,librand_chacha-042eea363548eac3.rlib,libppv_lite86-8dae110e85681398.rlib,librand_core-0e97f094346092c3.rlib,libgetrandom-5dc08290da7601ff.rlib,libtokio_util-16c0b54a021cb420.rlib,libmime_guess-35fc622b354c1c08.rlib,libunicase-b3ee4d7a622642af.rlib,libheaders-1a12314aedc14541.rlib,libsha1-7af2750dab843c62.rlib,libcpufeatures-4ff6a1db4b30982d.rlib,libdigest-3bdcc3b01b42dea6.rlib,libblock_buffer-7df84876cb65eedd.rlib,libcrypto_common-244122d667ed233e.rlib,libgeneric_array-f0a1b7287638233f.rlib,libtypenum-af1c64773d1c921d.rlib,libheaders_core-2fa993173c82dbf4.rlib,libpin_project-a9ca71275b91a6e1.rlib,libreqwest-eb72f3a852cc2b95.rlib,libhyper_tls-22754ba869dd4b01.rlib,libipnet-0a304ed111128cfa.rlib,libtokio_native_tls-7b5f47debfcc8d9d.rlib,libserde_urlencoded-ebf1a87d5132e93d.rlib,libmime-2ae9ff56ceb854d4.rlib,libencoding_rs-b14441d319f577aa.rlib,libserde_json-8945c407a86e2985.rlib,libryu-f19fc280bc21c12d.rlib,libserde-762679bba99f0bdd.rlib,libbase64-beb813779272318b.rlib,libnative_tls-4ca02eeadfc6201f.rlib,libopenssl_probe-dfbd35d7fb1bbeff.rlib,libopenssl-b8936685d8aca4a2.rlib,libbitflags-e2b4db6c651223da.rlib,libforeign_types-0d5385f641bbbadd.rlib,libforeign_types_shared-1d09a6084921ca40.rlib,libopenssl_sys-7a6ed5e4a337b092.rlib,libhyper-9fe603c0613aacab.rlib,libwant-341bac68a34bf53e.rlib,libtry_lock-ca4bbeb1dc9ff31a.rlib,libhttparse-f8c79c10c33e7561.rlib,libh2-09ba20fc6e94bec3.rlib,libindexmap-a1fe47fae7d6385b.rlib,libhashbrown-8ac6e23154e6c3d0.rlib,libtokio_util-b4a69305514b367e.rlib,libtower_service-aa28c9aa29f1c654.rlib,libtracing-acb03bdf7b27d0e0.rlib,libtracing_core-9c963ce059b0b693.rlib,libfutures_channel-25d5680fadcb8bd1.rlib,libhttpdate-8d961f91016e3ac1.rlib,libtokio-e01805f961bbcee0.rlib,libsignal_hook_registry-a1f9a039702cdf80.rlib,libnum_cpus-5dad874e96e9e6c3.rlib,libsocket2-76e76cd100d78e37.rlib,libonce_cell-3111a229f6c7f0cc.rlib,libmio-1c9c0d18a33ed647.rlib,libparking_lot-637003fd7a5b44fb.rlib,libparking_lot_core-a171aa05ed41e842.rlib,liblibc-170c83ef7fdcd9e7.rlib,libsmallvec-925aaf8f39242efe.rlib,liblock_api-dccc8bceca04d50a.rlib,libscopeguard-43643e546252cd47.rlib,libhttp_body-3f01c34b082c29f5.rlib,liblog-65ce858a5d32dc0e.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libfutures_util-8210c06ac1686aea.rlib,libmemchr-78a1173cc8e100a7.rlib,libfutures_io-ab03c219cbf0d33c.rlib,libslab-0f50f6bc4f044027.rlib,libpin_project_lite-97c4b49af6812166.rlib,libfutures_sink-f201b7c6878a02c8.rlib,libfutures_task-afb9c1864d7183c6.rlib,libpin_utils-9a5791cba021167a.rlib,libfutures_core-c7ed43a6e707032f.rlib,liblazy_static-2bb390fee0230a38.rlib,liburl-36783196d4abf97e.rlib,libidna-1209db283719866a.rlib,libunicode_normalization-c39e236ff6ca2103.rlib,libtinyvec-d255f4f79cc06720.rlib,libtinyvec_macros-cc8e196d6b1e57fc.rlib,libunicode_bidi-478c580ce729c6d2.rlib,libform_urlencoded-bc575136d0314bd7.rlib,libpercent_encoding-d8e5e041794fd24f.rlib,libmatches-443042cef9af988b.rlib,libhttp-d37e29af1bc3f79e.rlib,libitoa-664e30a1b3449410.rlib,libbytes-8210432e63828fd8.rlib,libfnv-2d77ec4f6f971b24.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/YanPan1-55669ca48ba34426" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `YanPan1` (bin "YanPan1" test) due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afc49becf9715592d8a2979b61f02f9f7f6103f596da6a4c6fca286c8e2c96c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc49becf9715592d8a2979b61f02f9f7f6103f596da6a4c6fca286c8e2c96c8", kill_on_drop: false }` [INFO] [stdout] afc49becf9715592d8a2979b61f02f9f7f6103f596da6a4c6fca286c8e2c96c8