[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] testing aleksander-dorcov-94/rust-learning against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksander-dorcov-94%2Frust-learning" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aleksander-dorcov-94/rust-learning on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sea-schema-derive v0.3.0 [INFO] [stderr] Downloaded sea-schema v0.18.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012 [INFO] running `Command { std: "docker" "start" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", 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" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling futures-core v0.3.33 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.33 [INFO] [stderr] Compiling rustls-pki-types v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.33 [INFO] [stderr] Compiling cc v1.4.0 [INFO] [stderr] Compiling aws-lc-rs v1.18.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling thiserror v2.0.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling arrayvec v0.7.8 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling rustls v0.23.43 [INFO] [stderr] Compiling futures-util v0.3.33 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.2 [INFO] [stderr] Compiling hashlink v0.11.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.13 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling webpki-roots v1.0.9 [INFO] [stderr] Compiling rust_decimal v1.42.1 [INFO] [stderr] Compiling futures-sink v0.3.33 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling chacha20 v0.10.1 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling futures-channel v0.3.33 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.44.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling time v0.3.55 [INFO] [stderr] Compiling hkdf v0.13.0 [INFO] [stderr] Compiling rand v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling synstructure v0.13.2 [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 zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling tokio-stream v0.1.19 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling either v1.17.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.11.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.24.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling whoami v2.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling sea-query-derive v1.0.0 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.12.1 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling sea-query v1.0.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling h2 v0.4.15 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling sqlx-postgres v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.4 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling pluralizer v0.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sea-bae v0.2.2 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling http-body-util v0.1.4 [INFO] [stderr] Compiling derive-where v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.91 [INFO] [stderr] Compiling hyper v1.11.0 [INFO] [stderr] Compiling strum v0.28.0 [INFO] [stderr] Compiling sea-orm-macros v2.0.1 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.7.0 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling reqwest v0.13.4 [INFO] [stderr] Compiling sqlx v0.9.0 [INFO] [stderr] Compiling sea-query-sqlx v0.9.1 [INFO] [stderr] Compiling sea-orm v2.0.1 [INFO] [stderr] Compiling 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 = 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 20s [INFO] running `Command { std: "docker" "inspect" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [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 variable: `set` [INFO] [stdout] --> src/bin/collections.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let set: HashSet = 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `p1` [INFO] [stderr] --> src/bin/01_basics.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p2` [INFO] [stderr] --> src/bin/01_basics.rs:67:19 [INFO] [stderr] | [INFO] [stderr] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p3` [INFO] [stderr] --> src/bin/01_basics.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p4` [INFO] [stderr] --> src/bin/01_basics.rs:67:37 [INFO] [stderr] | [INFO] [stderr] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p4` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p5` [INFO] [stderr] --> src/bin/01_basics.rs:67:46 [INFO] [stderr] | [INFO] [stderr] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p5` [INFO] [stderr] [INFO] [stderr] warning: function `main3` is never used [INFO] [stderr] --> src/bin/01_basics.rs:67:4 [INFO] [stderr] | [INFO] [stderr] 67 | fn main3(p1: i32, p2: i32, p3: i32, p4: i32, p5: i32) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `myStruct` should have a snake case name [INFO] [stderr] --> src/bin/01_basics.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let myStruct = User { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `my_struct` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sea_orm::Iden` [INFO] [stderr] --> src/bin/ownership.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sea_orm::Iden; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/bin/ownership.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let y = x; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/bin/ownership.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let y = x; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `s` is never read [INFO] [stderr] --> src/bin/ownership.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let mut s = String::from("hello"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stderr] 17 | s = String::from("ahoy"); [INFO] [stderr] | - `s` is overwritten here before the previous value is read [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `makes_copy` is never used [INFO] [stderr] --> src/bin/ownership.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn makes_copy(some_integer: i32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/bin/barrowing.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_length` is never used [INFO] [stderr] --> src/bin/barrowing.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn calculate_length(s: &String) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set` [INFO] [stderr] --> src/bin/collections.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let set: HashSet = numbers.into_iter().collect(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `untitled` (bin "01_basics" test) generated 7 warnings (run `cargo fix --bin "01_basics" -p untitled --tests` to apply 5 suggestions) [INFO] [stderr] warning: `untitled` (bin "ownership" test) generated 7 warnings (run `cargo fix --bin "ownership" -p untitled --tests` to apply 3 suggestions) [INFO] [stderr] warning: `untitled` (bin "collections" test) generated 1 warning (run `cargo fix --bin "collections" -p untitled --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/bin/01_basics.rs (/opt/rustwide/target/debug/deps/01_basics-a66512834fc15338) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/barrowing.rs (/opt/rustwide/target/debug/deps/barrowing-94dfaeb0849a11bd) [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] [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] [stderr] Running unittests src/bin/collections.rs (/opt/rustwide/target/debug/deps/collections-1e236875eab89d32) [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] [stdout] [INFO] [stderr] Running unittests src/bin/ownership.rs (/opt/rustwide/target/debug/deps/ownership-ba6565d0991614d3) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/untitled-be48a1c7c0246394) [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" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012", kill_on_drop: false }` [INFO] [stdout] 9f5932d67226fc939adc11044c78472cfa513e4cd6cccf6d1ecddbf82f900012