[INFO] cloning repository https://github.com/anubhavipec/rss_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anubhavipec/rss_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanubhavipec%2Frss_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanubhavipec%2Frss_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb184bb486d5a143b79ec65bf55234b0ea8fedd8 [INFO] testing anubhavipec/rss_parser/fb184bb486d5a143b79ec65bf55234b0ea8fedd8 against master#8dd5cd0bc1d683c30805e1dc831cac546b621a75 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanubhavipec%2Frss_parser" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anubhavipec/rss_parser on toolchain 8dd5cd0bc1d683c30805e1dc831cac546b621a75 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anubhavipec/rss_parser [INFO] finished tweaking git repo https://github.com/anubhavipec/rss_parser [INFO] tweaked toml for git repo https://github.com/anubhavipec/rss_parser written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anubhavipec/rss_parser 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" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded feed-rs v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f349c2421de831e67676609b399c30ab09a4f3840755e1773f6e4d03c9f2a78 [INFO] running `Command { std: "docker" "start" "-a" "0f349c2421de831e67676609b399c30ab09a4f3840755e1773f6e4d03c9f2a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f349c2421de831e67676609b399c30ab09a4f3840755e1773f6e4d03c9f2a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f349c2421de831e67676609b399c30ab09a4f3840755e1773f6e4d03c9f2a78", kill_on_drop: false }` [INFO] [stdout] 0f349c2421de831e67676609b399c30ab09a4f3840755e1773f6e4d03c9f2a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daec1c85b6cb9d35e9e745035a6f040fe58f602d739ebfe17ff0d445fc70c791 [INFO] running `Command { std: "docker" "start" "-a" "daec1c85b6cb9d35e9e745035a6f040fe58f602d739ebfe17ff0d445fc70c791", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling mediatype v0.19.18 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling feed-rs v2.0.0 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling rss_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router, Server}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySqlPool` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::MySqlPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::instrument::WithSubscriber` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::instrument::WithSubscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::util::SubscriberInitExt` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::util::SubscriberInitExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/handlers/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/user.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | if(i<=1000){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(i<=1000){ [INFO] [stdout] 39 + if i<=1000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::body::HttpBody` [INFO] [stdout] --> src/handlers/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/handlers/user.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 19 | number: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `price`, and `description` are never read [INFO] [stdout] --> src/handlers/user.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Product{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 23 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | price: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/handlers/user.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.60s [INFO] running `Command { std: "docker" "inspect" "daec1c85b6cb9d35e9e745035a6f040fe58f602d739ebfe17ff0d445fc70c791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daec1c85b6cb9d35e9e745035a6f040fe58f602d739ebfe17ff0d445fc70c791", kill_on_drop: false }` [INFO] [stdout] daec1c85b6cb9d35e9e745035a6f040fe58f602d739ebfe17ff0d445fc70c791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca6e53b4b426eccc007e1067f4606f5ffa95008b261a01ca321e99012b20588 [INFO] running `Command { std: "docker" "start" "-a" "9ca6e53b4b426eccc007e1067f4606f5ffa95008b261a01ca321e99012b20588", kill_on_drop: false }` [INFO] [stderr] Compiling rss_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router, Server}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySqlPool` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::MySqlPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::instrument::WithSubscriber` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::instrument::WithSubscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::util::SubscriberInitExt` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::util::SubscriberInitExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/handlers/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/user.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | if(i<=1000){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(i<=1000){ [INFO] [stdout] 39 + if i<=1000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::body::HttpBody` [INFO] [stdout] --> src/handlers/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/handlers/user.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 19 | number: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `price`, and `description` are never read [INFO] [stdout] --> src/handlers/user.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Product{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 23 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | price: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task1` is never used [INFO] [stdout] --> src/handlers/user.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn task1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "9ca6e53b4b426eccc007e1067f4606f5ffa95008b261a01ca321e99012b20588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca6e53b4b426eccc007e1067f4606f5ffa95008b261a01ca321e99012b20588", kill_on_drop: false }` [INFO] [stdout] 9ca6e53b4b426eccc007e1067f4606f5ffa95008b261a01ca321e99012b20588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54de26811aee8782ff6a2955e1f2562e4bdecaa508c0ae18b3df3efd7cc8cfce [INFO] running `Command { std: "docker" "start" "-a" "54de26811aee8782ff6a2955e1f2562e4bdecaa508c0ae18b3df3efd7cc8cfce", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Router` [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{Router, Server}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::MySqlPool` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sqlx::MySqlPool; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::instrument::WithSubscriber` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tracing::instrument::WithSubscriber; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing_subscriber::util::SubscriberInitExt` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing_subscriber::util::SubscriberInitExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread::sleep` [INFO] [stderr] --> src/handlers/user.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/handlers/user.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | if(i<=1000){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - if(i<=1000){ [INFO] [stderr] 39 + if i<=1000 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::body::HttpBody` [INFO] [stderr] --> src/handlers/user.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use axum::body::HttpBody; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `number` is never read [INFO] [stderr] --> src/handlers/user.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct Page { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 19 | number: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `name`, `price`, and `description` are never read [INFO] [stderr] --> src/handlers/user.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | struct Product{ [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 23 | id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 24 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 25 | price: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 26 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `task1` is never used [INFO] [stderr] --> src/handlers/user.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | pub async fn task1() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rss_parser` (bin "rss_parser" test) generated 11 warnings (run `cargo fix --bin "rss_parser" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rss_parser-fe40a9e8a7ca5d92) [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" "54de26811aee8782ff6a2955e1f2562e4bdecaa508c0ae18b3df3efd7cc8cfce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54de26811aee8782ff6a2955e1f2562e4bdecaa508c0ae18b3df3efd7cc8cfce", kill_on_drop: false }` [INFO] [stdout] 54de26811aee8782ff6a2955e1f2562e4bdecaa508c0ae18b3df3efd7cc8cfce