[INFO] fetching crate ConExpression 0.1.0... [INFO] checking ConExpression-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ConExpression 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ConExpression 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ConExpression 0.1.0 [INFO] finished tweaking crates.io crate ConExpression 0.1.0 [INFO] tweaked toml for crates.io crate ConExpression 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff25c95955b01b449245b41e4ec0d8a801967eb2d30cfe3de71d2962de7af794 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff25c95955b01b449245b41e4ec0d8a801967eb2d30cfe3de71d2962de7af794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff25c95955b01b449245b41e4ec0d8a801967eb2d30cfe3de71d2962de7af794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff25c95955b01b449245b41e4ec0d8a801967eb2d30cfe3de71d2962de7af794", kill_on_drop: false }` [INFO] [stdout] ff25c95955b01b449245b41e4ec0d8a801967eb2d30cfe3de71d2962de7af794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d777312be5534f29a3c33aee68d213af57e63abe2928daa21f0c8c9cd5e8fedc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d777312be5534f29a3c33aee68d213af57e63abe2928daa21f0c8c9cd5e8fedc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking ConExpression v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ConExpression` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `con_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ConExpression` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `con_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert__ok` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn test_assert__ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert__failed` should have a snake case name [INFO] [stdout] --> src/lib.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn test_assert__failed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_eq__ok` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn test_assert_eq__ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_eq_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_eq__failed` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn test_assert_eq__failed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_eq_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_ne__ok` should have a snake case name [INFO] [stdout] --> src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn test_assert_ne__ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_ne_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_ne__failed` should have a snake case name [INFO] [stdout] --> src/lib.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_assert_ne__failed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_ne_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_should_panic__ok` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_assert_should_panic__ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_should_panic_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_should_panic__failed` should have a snake case name [INFO] [stdout] --> src/lib.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn test_assert_should_panic__failed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_should_panic_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_assert_should_panic__failed_no_panic` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn test_assert_should_panic__failed_no_panic() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_assert_should_panic_failed_no_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `iinstruction` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait iinstruction { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Iinstruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ichannel` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ichannel { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ichannel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/icontract/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn send(instruction: &iinstruction) -> (bool, String); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn iinstruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instruction_OCR` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Instruction_OCR { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InstructionOcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instruction_Temp` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Instruction_Temp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InstructionTemp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `iinstruction` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait iinstruction { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Iinstruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ichannel` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ichannel { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ichannel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/icontract/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn send(instruction: &iinstruction) -> (bool, String); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn iinstruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instruction_OCR` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Instruction_OCR { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InstructionOcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instruction_Temp` should have an upper camel case name [INFO] [stdout] --> src/icontract/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Instruction_Temp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InstructionTemp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 269 | [INFO] [stdout] 270 | println!(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 269 | [INFO] [stdout] 270 | println!(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let f = File::open(filename)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `robot_agent_bm` [INFO] [stdout] --> src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let robot_agent_bm: &'static str = "R1"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_robot_agent_bm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `robot_device_id` [INFO] [stdout] --> src/main.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let robot_device_id: &'static str = "99"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_robot_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/main.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | let home = "127.0.0.1".parse::().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/hashmap/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let one = map.get("One"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `derection` is never read [INFO] [stdout] --> src/icontract/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut derection: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let f = File::open(filename)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `robot_agent_bm` [INFO] [stdout] --> src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let robot_agent_bm: &'static str = "R1"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_robot_agent_bm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `robot_device_id` [INFO] [stdout] --> src/main.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let robot_device_id: &'static str = "99"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_robot_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/main.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | let home = "127.0.0.1".parse::().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/hashmap/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let one = map.get("One"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `derection` is never read [INFO] [stdout] --> src/icontract/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut derection: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hashmap/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut scores: HashMap<_, _> = keys.iter().zip(values.iter()).collect(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hashmap/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut scores: HashMap<_, _> = keys.iter().zip(values.iter()).collect(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | V6, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | V6 [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | V6 [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulated_expensive_calculation` [INFO] [stdout] --> src/main.rs:515:4 [INFO] [stdout] | [INFO] [stdout] 515 | fn simulated_expensive_calculation(intensity:i32)->i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ConExpression` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `con_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | V6, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | V6 [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | V6 [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulated_expensive_calculation` [INFO] [stdout] --> src/main.rs:515:4 [INFO] [stdout] | [INFO] [stdout] 515 | fn simulated_expensive_calculation(intensity:i32)->i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ConExpression` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `con_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberIndex` should have a snake case name [INFO] [stdout] --> src/math/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut numberIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `number_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberIndex` should have a snake case name [INFO] [stdout] --> src/math/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut numberIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `number_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `toInstruction` should have a snake case name [INFO] [stdout] --> src/icontract/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn toInstruction(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `toInstruction` should have a snake case name [INFO] [stdout] --> src/icontract/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn toInstruction(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "d777312be5534f29a3c33aee68d213af57e63abe2928daa21f0c8c9cd5e8fedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d777312be5534f29a3c33aee68d213af57e63abe2928daa21f0c8c9cd5e8fedc", kill_on_drop: false }` [INFO] [stdout] d777312be5534f29a3c33aee68d213af57e63abe2928daa21f0c8c9cd5e8fedc