[INFO] cloning repository https://github.com/nirvik00/rust_exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nirvik00/rust_exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Frust_exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Frust_exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1acf48547d85965a106ab0e9b95d042360d2efc [INFO] checking nirvik00/rust_exercises against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Frust_exercises" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nirvik00/rust_exercises on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nirvik00/rust_exercises [INFO] finished tweaking git repo https://github.com/nirvik00/rust_exercises [INFO] tweaked toml for git repo https://github.com/nirvik00/rust_exercises written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nirvik00/rust_exercises 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41a1d5202ee0ebbd87b844b58b28dc6805796cbd28e16762159ebda9d29ceda9 [INFO] running `Command { std: "docker" "start" "-a" "41a1d5202ee0ebbd87b844b58b28dc6805796cbd28e16762159ebda9d29ceda9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41a1d5202ee0ebbd87b844b58b28dc6805796cbd28e16762159ebda9d29ceda9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a1d5202ee0ebbd87b844b58b28dc6805796cbd28e16762159ebda9d29ceda9", kill_on_drop: false }` [INFO] [stdout] 41a1d5202ee0ebbd87b844b58b28dc6805796cbd28e16762159ebda9d29ceda9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 586326f207ba59668646d56a1fe9718b4a2f8893d114d3165740239afd5045c7 [INFO] running `Command { std: "docker" "start" "-a" "586326f207ba59668646d56a1fe9718b4a2f8893d114d3165740239afd5045c7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking p001 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `json::parse` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use json::parse; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Value` [INFO] [stdout] --> src/parse_json.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_string` [INFO] [stdout] --> src/parse_json.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{from_str, to_string}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `env`, and `string` [INFO] [stdout] --> src/parse_json.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, env, string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::parse` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use json::parse; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/func_json2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `Value` [INFO] [stdout] --> src/func_json2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Value` [INFO] [stdout] --> src/parse_json.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/maths.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_string` [INFO] [stdout] --> src/parse_json.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{from_str, to_string}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pt2d` should have an upper camel case name [INFO] [stdout] --> src/structs2.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | struct pt2d(i32, i32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Pt2d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `env`, and `string` [INFO] [stdout] --> src/parse_json.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, env, string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pt3d` should have an upper camel case name [INFO] [stdout] --> src/structs2.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | struct pt3d(i32, i32, i32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Pt3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/func_json2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `Value` [INFO] [stdout] --> src/func_json2.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/maths.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pt2d` should have an upper camel case name [INFO] [stdout] --> src/structs2.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | struct pt2d(i32, i32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Pt2d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pt3d` should have an upper camel case name [INFO] [stdout] --> src/structs2.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | struct pt3d(i32, i32, i32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Pt3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/enums2.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | Value::Integer(num) => println!("int {:?}", i), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/enums2.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | Value::Integer(num) => println!("int {:?}", i), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/enums2.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | Value::Float(num) => println!("float {:?}", i), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/enums2.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | Value::Float(num) => println!("float {:?}", i), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `grade2` is never read [INFO] [stdout] --> src/conditionals.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut grade2: char = 'N'; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `grade2` is never read [INFO] [stdout] --> src/conditionals.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut grade2: char = 'N'; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/ownership.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut y = x; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/ownership.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut y = x; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/structs2.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let b = my_car.owner.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `car2` [INFO] [stdout] --> src/structs2.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let car2 = Car { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_car2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/structs2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let p1 = (1, 3); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/structs2.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let p2 = (4, 10, 12); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p01` [INFO] [stdout] --> src/structs2.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let p01 = pt2d(1, 2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p02` [INFO] [stdout] --> src/structs2.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let p02 = pt3d(1, 2, 4); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/structs2.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let b = my_car.owner.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `car2` [INFO] [stdout] --> src/structs2.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let car2 = Car { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_car2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/structs2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let p1 = (1, 3); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/structs2.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let p2 = (4, 10, 12); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p01` [INFO] [stdout] --> src/structs2.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let p01 = pt2d(1, 2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p02` [INFO] [stdout] --> src/structs2.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let p02 = pt3d(1, 2, 4); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_p02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/hashmaps.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Some(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/hashmaps.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Some(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/hashmap_ex.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WeekDay` is never used [INFO] [stdout] --> src/enums2.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum WeekDay{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TravelType` is never used [INFO] [stdout] --> src/enums2.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum TravelType{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `travel_allowance` is never used [INFO] [stdout] --> src/enums2.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl TravelType{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 22 | fn travel_allowance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/enums2.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Value{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/enums2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/hashmap_ex.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/conditionals.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/basics.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_fn` is never used [INFO] [stdout] --> src/basics.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn my_fn(s: &str) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiplication` is never used [INFO] [stdout] --> src/basics.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn multiplication(a:i32, b:i32) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f2` is never used [INFO] [stdout] --> src/basics.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn f2(a:i32, b:i32) -> (i32, i32, i32) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dog` is never constructed [INFO] [stdout] --> src/io_json.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Dog{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DogOwner` is never constructed [INFO] [stdout] --> src/io_json.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct DogOwner{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/io_json.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dog_serialization` is never used [INFO] [stdout] --> src/io_json.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn dog_serialization() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dog_deserialization` is never used [INFO] [stdout] --> src/io_json.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn dog_deserialization() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/ownership.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_ownership` is never used [INFO] [stdout] --> src/ownership.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn takes_ownership(vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `give_ownership` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn give_ownership() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combined_ownership` is never used [INFO] [stdout] --> src/ownership.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn combined_ownership(mut v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f2` is never used [INFO] [stdout] --> src/ownership.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn f2() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f3` is never used [INFO] [stdout] --> src/ownership.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn f3() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_str` is never used [INFO] [stdout] --> src/ownership.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn generate_str() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/parse_json.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_json` is never used [INFO] [stdout] --> src/parse_json.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn test_json(inp: Data) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/vectors.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/func_json.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/funcs.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greet` is never used [INFO] [stdout] --> src/funcs.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn greet (g: &str, name: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/funcs.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn add(n1:i32, n2:i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/func_json2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/func_json2.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorX` is never constructed [INFO] [stdout] --> src/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ColorX (u8, u8, u8, u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/structs.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `full_name`, `set_last_name`, and `to_tuple` are never used [INFO] [stdout] --> src/structs.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Person { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | fn new(f: &str, l: &str) -> Person{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn full_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn set_last_name(&mut self, x: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn to_tuple(self) -> (String, String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/structs.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/maths.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/structs2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_car_info`, `update_fuel`, `sell`, `monthly_insurance`, and `selling_price` are never used [INFO] [stdout] --> src/structs2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | fn new(name: String, year: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn display_car_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn update_fuel(&mut self, gallons: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn sell(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn monthly_insurance() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn selling_price(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/structs2.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run2` is never used [INFO] [stdout] --> src/structs2.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn run2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run3` is never used [INFO] [stdout] --> src/structs2.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn run3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/structs_enums.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Student` is never constructed [INFO] [stdout] --> src/options_ex.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Student { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_grade` is never used [INFO] [stdout] --> src/options_ex.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_grade(n:&String, db:&Vec) -> Option{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/options_ex.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WeekDay` is never used [INFO] [stdout] --> src/enums2.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum WeekDay{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Student` is never constructed [INFO] [stdout] --> src/result_ex.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Student { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TravelType` is never used [INFO] [stdout] --> src/enums2.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum TravelType{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_grade` is never used [INFO] [stdout] --> src/result_ex.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_grade(n:&String, db:&Vec) -> Option{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `travel_allowance` is never used [INFO] [stdout] --> src/enums2.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl TravelType{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 22 | fn travel_allowance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_student` is never used [INFO] [stdout] --> src/result_ex.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn check_student(n:&String, db:&Vec) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_student_grade` is never used [INFO] [stdout] --> src/result_ex.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn check_student_grade(n:&String, db:&Vec) -> Result, String>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/enums2.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Value{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/result_ex.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/enums2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run2` is never used [INFO] [stdout] --> src/result_ex.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn run2(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/conditionals.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/hashmaps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run2` is never used [INFO] [stdout] --> src/hashmaps.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run2(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/basics.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_fn` is never used [INFO] [stdout] --> src/basics.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn my_fn(s: &str) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `grade` are never read [INFO] [stdout] --> src/hashmap_ex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Student { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | grade: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Student` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiplication` is never used [INFO] [stdout] --> src/basics.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn multiplication(a:i32, b:i32) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/web_server.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f2` is never used [INFO] [stdout] --> src/basics.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn f2(a:i32, b:i32) -> (i32, i32, i32) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dog` is never constructed [INFO] [stdout] --> src/io_json.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Dog{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DogOwner` is never constructed [INFO] [stdout] --> src/io_json.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct DogOwner{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/io_json.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dog_serialization` is never used [INFO] [stdout] --> src/io_json.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn dog_serialization() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dog_deserialization` is never used [INFO] [stdout] --> src/io_json.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn dog_deserialization() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/ownership.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_ownership` is never used [INFO] [stdout] --> src/ownership.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn takes_ownership(vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `give_ownership` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn give_ownership() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combined_ownership` is never used [INFO] [stdout] --> src/ownership.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn combined_ownership(mut v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f2` is never used [INFO] [stdout] --> src/ownership.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn f2() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f3` is never used [INFO] [stdout] --> src/ownership.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn f3() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_str` is never used [INFO] [stdout] --> src/ownership.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn generate_str() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/parse_json.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_json` is never used [INFO] [stdout] --> src/parse_json.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn test_json(inp: Data) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/vectors.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/func_json.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/funcs.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greet` is never used [INFO] [stdout] --> src/funcs.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn greet (g: &str, name: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/funcs.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn add(n1:i32, n2:i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/func_json2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/func_json2.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorX` is never constructed [INFO] [stdout] --> src/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ColorX (u8, u8, u8, u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/structs.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `full_name`, `set_last_name`, and `to_tuple` are never used [INFO] [stdout] --> src/structs.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Person { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | fn new(f: &str, l: &str) -> Person{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn full_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn set_last_name(&mut self, x: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn to_tuple(self) -> (String, String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/structs.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/maths.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/structs2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_car_info`, `update_fuel`, `sell`, `monthly_insurance`, and `selling_price` are never used [INFO] [stdout] --> src/structs2.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | fn new(name: String, year: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn display_car_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn update_fuel(&mut self, gallons: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn sell(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn monthly_insurance() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn selling_price(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/structs2.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run2` is never used [INFO] [stdout] --> src/structs2.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn run2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run3` is never used [INFO] [stdout] --> src/structs2.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn run3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/structs_enums.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Student` is never constructed [INFO] [stdout] --> src/options_ex.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Student { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_grade` is never used [INFO] [stdout] --> src/options_ex.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_grade(n:&String, db:&Vec) -> Option{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/options_ex.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Student` is never constructed [INFO] [stdout] --> src/result_ex.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Student { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_grade` is never used [INFO] [stdout] --> src/result_ex.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_grade(n:&String, db:&Vec) -> Option{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_student` is never used [INFO] [stdout] --> src/result_ex.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn check_student(n:&String, db:&Vec) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_student_grade` is never used [INFO] [stdout] --> src/result_ex.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn check_student_grade(n:&String, db:&Vec) -> Result, String>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/result_ex.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run2` is never used [INFO] [stdout] --> src/result_ex.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn run2(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/hashmaps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run2` is never used [INFO] [stdout] --> src/hashmaps.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run2(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `grade` are never read [INFO] [stdout] --> src/hashmap_ex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Student { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | grade: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Student` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/web_server.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/basics.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | format!("{fname} {lname}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/basics.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | format!("{fname} {lname}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "586326f207ba59668646d56a1fe9718b4a2f8893d114d3165740239afd5045c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586326f207ba59668646d56a1fe9718b4a2f8893d114d3165740239afd5045c7", kill_on_drop: false }` [INFO] [stdout] 586326f207ba59668646d56a1fe9718b4a2f8893d114d3165740239afd5045c7 [INFO] checking nirvik00/rust_exercises against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnirvik00%2Frust_exercises" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nirvik00/rust_exercises on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nirvik00/rust_exercises [INFO] finished tweaking git repo https://github.com/nirvik00/rust_exercises [INFO] tweaked toml for git repo https://github.com/nirvik00/rust_exercises written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nirvik00/rust_exercises 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fdca3c497bec3a797e43e536725e661f0b8c50f9c002e685c49aa86f9b482fa [INFO] running `Command { std: "docker" "start" "-a" "3fdca3c497bec3a797e43e536725e661f0b8c50f9c002e685c49aa86f9b482fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdca3c497bec3a797e43e536725e661f0b8c50f9c002e685c49aa86f9b482fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdca3c497bec3a797e43e536725e661f0b8c50f9c002e685c49aa86f9b482fa", kill_on_drop: false }` [INFO] [stdout] 3fdca3c497bec3a797e43e536725e661f0b8c50f9c002e685c49aa86f9b482fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b5506b07add00c2d9b0266884bea0077932a151bc8b10e0ed7e3556cbcdf87c [INFO] running `Command { std: "docker" "start" "-a" "9b5506b07add00c2d9b0266884bea0077932a151bc8b10e0ed7e3556cbcdf87c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 841 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 842 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 843 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 844 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 845 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 846 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9b5506b07add00c2d9b0266884bea0077932a151bc8b10e0ed7e3556cbcdf87c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5506b07add00c2d9b0266884bea0077932a151bc8b10e0ed7e3556cbcdf87c", kill_on_drop: false }` [INFO] [stdout] 9b5506b07add00c2d9b0266884bea0077932a151bc8b10e0ed7e3556cbcdf87c