[INFO] cloning repository https://github.com/aleksander-dorcov-94/rust-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleksander-dorcov-94/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksander-dorcov-94%2Frust-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksander-dorcov-94%2Frust-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1eb918243b3ab4aecea765ae5e7a398eccef8e7b
[INFO] checking aleksander-dorcov-94/rust-learning against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksander-dorcov-94%2Frust-learning" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aleksander-dorcov-94/rust-learning
[INFO] finished tweaking git repo https://github.com/aleksander-dorcov-94/rust-learning
[INFO] tweaked toml for git repo https://github.com/aleksander-dorcov-94/rust-learning written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aleksander-dorcov-94/rust-learning on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aleksander-dorcov-94/rust-learning 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1
[INFO] running `Command { std: "docker" "start" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling aws-lc-rs v1.18.0
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling hybrid-array v0.4.14
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling time-macros v0.2.32
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]     Checking futures-io v0.3.33
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]    Compiling futures-core v0.3.33
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling futures-sink v0.3.33
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling tinyvec v1.12.0
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]     Checking http v1.5.0
[INFO] [stderr]    Compiling futures-task v0.3.33
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]    Compiling rust_decimal v1.42.1
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling cc v1.4.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.13
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]    Compiling event-listener v5.4.2
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling uuid v1.24.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling rand v0.10.2
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.33
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]    Compiling md-5 v0.11.0
[INFO] [stderr]    Compiling sha2 v0.11.0
[INFO] [stderr]    Compiling hkdf v0.13.0
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]    Compiling time v0.3.55
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.44.0
[INFO] [stderr]     Checking ipnet v2.12.1
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.4
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling sea-bae v0.2.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking http-body-util v0.1.4
[INFO] [stderr]    Compiling derive-where v1.6.1
[INFO] [stderr]     Checking strum v0.28.0
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking ouroboros v0.18.5
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling async-trait v0.1.91
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]    Compiling sea-query-derive v1.0.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.19
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling pluralizer v0.5.0
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking either v1.17.0
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking sea-query v1.0.1
[INFO] [stderr]    Compiling sea-orm-macros v2.0.1
[INFO] [stderr]    Compiling sqlx-core v0.9.0
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking h2 v0.4.15
[INFO] [stderr]    Compiling sqlx-postgres v0.9.0
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.4
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking sea-query-sqlx v0.9.1
[INFO] [stderr]     Checking sea-orm v2.0.1
[INFO] [stderr]     Checking untitled v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `set`
[INFO] [stdout]   --> src/bin/collections.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let set: HashSet<i64> = numbers.into_iter().collect();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_set`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                   ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p3`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                            ^^ help: if this is intentional, prefix it with an underscore: `_p3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p4`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                                     ^^ help: if this is intentional, prefix it with an underscore: `_p4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p5`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:46
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                                              ^^ help: if this is intentional, prefix it with an underscore: `_p5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main3` is never used
[INFO] [stdout]   --> src/bin/01_basics.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `myStruct` should have a snake case name
[INFO] [stdout]   --> src/bin/01_basics.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let myStruct = User {
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `my_struct`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                   ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p3`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                            ^^ help: if this is intentional, prefix it with an underscore: `_p3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p4`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                                     ^^ help: if this is intentional, prefix it with an underscore: `_p4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p5`
[INFO] [stdout]   --> src/bin/01_basics.rs:67:46
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |                                              ^^ help: if this is intentional, prefix it with an underscore: `_p5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main3` is never used
[INFO] [stdout]   --> src/bin/01_basics.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `myStruct` should have a snake case name
[INFO] [stdout]   --> src/bin/01_basics.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let myStruct = User {
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `my_struct`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sea_orm::Iden`
[INFO] [stdout]  --> src/bin/ownership.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::Iden;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/bin/ownership.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let y = x;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/ownership.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `s` is never read
[INFO] [stdout]   --> src/bin/ownership.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut s = String::from("hello");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 17 |     s = String::from("ahoy");
[INFO] [stdout]    |     - `s` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `makes_copy` is never used
[INFO] [stdout]   --> src/bin/ownership.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn makes_copy(some_integer: i32) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/bin/barrowing.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]  --> src/bin/barrowing.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn calculate_length(s: &String) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sea_orm::Iden`
[INFO] [stdout]  --> src/bin/ownership.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::Iden;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set`
[INFO] [stdout]   --> src/bin/collections.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let set: HashSet<i64> = numbers.into_iter().collect();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_set`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/bin/ownership.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let y = x;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/ownership.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y = x;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `s` is never read
[INFO] [stdout]   --> src/bin/ownership.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut s = String::from("hello");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 17 |     s = String::from("ahoy");
[INFO] [stdout]    |     - `s` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `makes_copy` is never used
[INFO] [stdout]   --> src/bin/ownership.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn makes_copy(some_integer: i32) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/bin/barrowing.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length` is never used
[INFO] [stdout]  --> src/bin/barrowing.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn calculate_length(s: &String) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s
[INFO] running `Command { std: "docker" "inspect" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1", kill_on_drop: false }`
[INFO] [stdout] 56e1b8d3440a0618ad25baf4da518ce485da8d24568f6fa4f8861dd4c19335e1
