[INFO] cloning repository https://github.com/akkida746/RustProj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akkida746/RustProj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkida746%2FRustProj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkida746%2FRustProj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e5a1d68dc18e81d96e32aa1db597416ca76496f [INFO] testing akkida746/RustProj/1e5a1d68dc18e81d96e32aa1db597416ca76496f against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkida746%2FRustProj" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akkida746/RustProj on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akkida746/RustProj [INFO] finished tweaking git repo https://github.com/akkida746/RustProj [INFO] tweaked toml for git repo https://github.com/akkida746/RustProj written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/akkida746/RustProj 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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f751bf1f2be498970699d21080ac821d6f9f3ca2ff2df82fb0b9b7633c3a5598 [INFO] running `Command { std: "docker" "start" "-a" "f751bf1f2be498970699d21080ac821d6f9f3ca2ff2df82fb0b9b7633c3a5598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f751bf1f2be498970699d21080ac821d6f9f3ca2ff2df82fb0b9b7633c3a5598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f751bf1f2be498970699d21080ac821d6f9f3ca2ff2df82fb0b9b7633c3a5598", kill_on_drop: false }` [INFO] [stdout] f751bf1f2be498970699d21080ac821d6f9f3ca2ff2df82fb0b9b7633c3a5598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2583699477d77b97891557eecfc8a5f436bfc66d07ddc6093d22d6a4ac51567b [INFO] running `Command { std: "docker" "start" "-a" "2583699477d77b97891557eecfc8a5f436bfc66d07ddc6093d22d6a4ac51567b", kill_on_drop: false }` [INFO] [stderr] Compiling RustProj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/bounds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; //Trait to bound with [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/errorhandling.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let x = list.get(0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetime.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let y = "Deep"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lifetime.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &'static str{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetime.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &'static str{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed_i32` [INFO] [stdout] --> src/borrowing.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let boxed_i32 = Box::new(5_i32); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stacked_i32` [INFO] [stdout] --> src/borrowing.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let stacked_i32 = 6_i32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stacked_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_box_i32` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `optional_num` is never read [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 137 | struct Data{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | optional_num: Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | Name(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Employee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 159 | Name(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Id` and `Profile` are never constructed [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 158 | enum Employee { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 159 | Name(String), [INFO] [stdout] 160 | Id(i32), [INFO] [stdout] | ^^ [INFO] [stdout] 161 | Profile(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Employee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhoneNumber` is never constructed [INFO] [stdout] --> src/errorhandling.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | struct PhoneNumber{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> src/bounds.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | struct Ref<'a, T: 'a>(&'a T); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/bounds.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn print(t: T) where T: Debug{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &'static str{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrowing` is never used [INFO] [stdout] --> src/borrowing.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn borrowing(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrow_i32` is never used [INFO] [stdout] --> src/borrowing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn borrow_i32(borrowed_i32: &i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_box_i32` is never used [INFO] [stdout] --> src/borrowing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAge` should have a snake case name [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn getAge(&self) -> i32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_age` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCollections` should have a snake case name [INFO] [stdout] --> src/collections.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCollections(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeValues` should have a snake case name [INFO] [stdout] --> src/collections.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn changeValues(mut list: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod errorHandling{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn errorHandling(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkList` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn checkList(list: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handleError` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn handleError(gift : &str){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startBounds` should have a snake case name [INFO] [stdout] --> src/bounds.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn startBounds(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `start_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getModuleName` should have a snake case name [INFO] [stdout] --> src/borrowing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn getModuleName() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printName` should have a snake case name [INFO] [stdout] --> src/module.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn printName(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callSelfFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn callSelfFoo(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `call_self_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callParentFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn callParentFoo(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `call_parent_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHouse` should have a snake case name [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn printHouse(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_house` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "2583699477d77b97891557eecfc8a5f436bfc66d07ddc6093d22d6a4ac51567b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2583699477d77b97891557eecfc8a5f436bfc66d07ddc6093d22d6a4ac51567b", kill_on_drop: false }` [INFO] [stdout] 2583699477d77b97891557eecfc8a5f436bfc66d07ddc6093d22d6a4ac51567b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f264e97643b06e014be1c7dad5f156d1fc824e2dc075147fe41b83540b6cd1 [INFO] running `Command { std: "docker" "start" "-a" "39f264e97643b06e014be1c7dad5f156d1fc824e2dc075147fe41b83540b6cd1", kill_on_drop: false }` [INFO] [stderr] Compiling RustProj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/bounds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; //Trait to bound with [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/errorhandling.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let x = list.get(0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetime.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let y = "Deep"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lifetime.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &'static str{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetime.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &'static str{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed_i32` [INFO] [stdout] --> src/borrowing.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let boxed_i32 = Box::new(5_i32); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stacked_i32` [INFO] [stdout] --> src/borrowing.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let stacked_i32 = 6_i32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stacked_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_box_i32` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `optional_num` is never read [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 137 | struct Data{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | optional_num: Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | Name(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Employee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 159 | Name(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Id` and `Profile` are never constructed [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 158 | enum Employee { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 159 | Name(String), [INFO] [stdout] 160 | Id(i32), [INFO] [stdout] | ^^ [INFO] [stdout] 161 | Profile(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Employee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhoneNumber` is never constructed [INFO] [stdout] --> src/errorhandling.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | struct PhoneNumber{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> src/bounds.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | struct Ref<'a, T: 'a>(&'a T); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/bounds.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn print(t: T) where T: Debug{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/lifetime.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn longest(x: &str, y: &str) -> &'static str{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrowing` is never used [INFO] [stdout] --> src/borrowing.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn borrowing(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrow_i32` is never used [INFO] [stdout] --> src/borrowing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn borrow_i32(borrowed_i32: &i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_box_i32` is never used [INFO] [stdout] --> src/borrowing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn eat_box_i32(boxed_i32: Box){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAge` should have a snake case name [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn getAge(&self) -> i32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_age` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCollections` should have a snake case name [INFO] [stdout] --> src/collections.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCollections(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeValues` should have a snake case name [INFO] [stdout] --> src/collections.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn changeValues(mut list: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) mod errorHandling{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `errorHandling` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn errorHandling(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkList` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn checkList(list: Vec) -> Result{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handleError` should have a snake case name [INFO] [stdout] --> src/errorhandling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn handleError(gift : &str){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startBounds` should have a snake case name [INFO] [stdout] --> src/bounds.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn startBounds(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `start_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getModuleName` should have a snake case name [INFO] [stdout] --> src/borrowing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn getModuleName() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printName` should have a snake case name [INFO] [stdout] --> src/module.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn printName(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callSelfFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn callSelfFoo(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `call_self_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callParentFoo` should have a snake case name [INFO] [stdout] --> src/main.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn callParentFoo(){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `call_parent_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHouse` should have a snake case name [INFO] [stdout] --> src/main.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) fn printHouse(){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_house` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcnLicRy/symbols.o" "/opt/rustwide/target/debug/deps/RustProj-2f50b75bcfc05f2a.RustProj.2ab6b230d3cb34f2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/RustProj-2f50b75bcfc05f2a.cassh4w9xjlv9y7025c0m5tn2.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-6572177f182db5ae.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-4f74f42555e7e8b7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-64269ed5d1a51934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-271176140346524e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ddfa30f5b2dff88d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d58ba3f1cf32ddd2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2dbef2699a18c754.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-5b026333cdfb63da.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-113c49093f0fcc2b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-019e23faa7643465.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2cf2c3dfc6c03f4d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-901a4b8bab9b89aa.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-85120886601cc0a9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1470e1ba5156a741.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-4885f4c688995969.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1d696803940285c8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e21bf89e627e698a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-33f46c78576842ef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-17be2b16923e3bb8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-567de79732361682.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-4cf833632aafa84c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-65c2c6d2d6ae570b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-aa3eb6fd597e79f5.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-09-05-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/RustProj-2f50b75bcfc05f2a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RustProj` (bin "RustProj" test) due to 2 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39f264e97643b06e014be1c7dad5f156d1fc824e2dc075147fe41b83540b6cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f264e97643b06e014be1c7dad5f156d1fc824e2dc075147fe41b83540b6cd1", kill_on_drop: false }` [INFO] [stdout] 39f264e97643b06e014be1c7dad5f156d1fc824e2dc075147fe41b83540b6cd1