[INFO] cloning repository https://github.com/thomshib/RustPlayground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomshib/RustPlayground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomshib%2FRustPlayground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomshib%2FRustPlayground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1fddb1f0d9dcd6ae92b9502881a89dcab99c1c8 [INFO] checking thomshib/RustPlayground against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomshib%2FRustPlayground" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/commit-msg.sample' to '/workspace/builds/worker-2-tc2/source/.git/hooks/commit-msg.sample': No space left on device [INFO] checking thomshib/RustPlayground against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomshib%2FRustPlayground" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-2-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] [stderr] error: unable to write symref for refs/remotes/origin/HEAD: No space left on device [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] checking thomshib/RustPlayground against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomshib%2FRustPlayground" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-2-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] [stderr] error: unable to write symref for refs/remotes/origin/HEAD: No space left on device [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] checking thomshib/RustPlayground against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomshib%2FRustPlayground" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomshib/RustPlayground on toolchain fc545c6b951a304df08b327c158f92678582f435 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomshib/RustPlayground [INFO] finished tweaking git repo https://github.com/thomshib/RustPlayground [INFO] tweaked toml for git repo https://github.com/thomshib/RustPlayground written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thomshib/RustPlayground 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" "+fc545c6b951a304df08b327c158f92678582f435" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.rand [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30a44060f2e87dc83880b1fc7c28303e8f88e57dda5c43251a7f77f4b22fa0a0 [INFO] running `Command { std: "docker" "start" "-a" "30a44060f2e87dc83880b1fc7c28303e8f88e57dda5c43251a7f77f4b22fa0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30a44060f2e87dc83880b1fc7c28303e8f88e57dda5c43251a7f77f4b22fa0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a44060f2e87dc83880b1fc7c28303e8f88e57dda5c43251a7f77f4b22fa0a0", kill_on_drop: false }` [INFO] [stdout] 30a44060f2e87dc83880b1fc7c28303e8f88e57dda5c43251a7f77f4b22fa0a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cac6e0eda510d1282bc6aa5709cd0ea60ea5a6aa943668cd5b0655f7dcbabeb [INFO] running `Command { std: "docker" "start" "-a" "1cac6e0eda510d1282bc6aa5709cd0ea60ea5a6aa943668cd5b0655f7dcbabeb", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.rand [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking scratchpad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | 1...999 => "Unknown", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | 1...999 => "Unknown", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let mut rng = rand::thread_rng(); [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: unused variable: `rng` [INFO] [stdout] --> src/main.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `Z` is never used [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | static mut Z:i32 = 42; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_types` is never used [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn data_types(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let mut rng = rand::thread_rng(); [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: function `operators` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn operators(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `Z` is never used [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | static mut Z:i32 = 42; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop` is never used [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn for_loop(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_types` is never used [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn data_types(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_statement` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn match_statement(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operators` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn operators(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop` is never used [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn for_loop(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `options` is never used [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn options(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_statement` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn match_statement(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `options` is never used [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn options(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn array(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vectors` is never used [INFO] [stdout] --> src/main.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn vectors(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/sh.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `origin` is never used [INFO] [stdout] --> src/sh.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn origin() -> Point{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack_and_heap` is never used [INFO] [stdout] --> src/sh.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn stack_and_heap(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/color.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enums` is never used [INFO] [stdout] --> src/color.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn enums(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn array(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slices_main` is never used [INFO] [stdout] --> src/slices.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn slices_main(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vectors` is never used [INFO] [stdout] --> src/main.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn vectors(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_slices` is never used [INFO] [stdout] --> src/slices.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn use_slices(slice: &mut[i32]){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/sh.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strings` is never used [INFO] [stdout] --> src/strings.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn strings(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuples` is never used [INFO] [stdout] --> src/tuples.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tuples(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_and_product` is never used [INFO] [stdout] --> src/tuples.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sum_and_product(x:i32, y: i32) -> (i32,i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increase_value` is never used [INFO] [stdout] --> src/func.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn increase_value(x: &mut i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `origin` is never used [INFO] [stdout] --> src/sh.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn origin() -> Point{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functions` is never used [INFO] [stdout] --> src/func.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn functions(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack_and_heap` is never used [INFO] [stdout] --> src/sh.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn stack_and_heap(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/meth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/color.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Color{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enums` is never used [INFO] [stdout] --> src/color.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn enums(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slices_main` is never used [INFO] [stdout] --> src/slices.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn slices_main(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_slices` is never used [INFO] [stdout] --> src/slices.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn use_slices(slice: &mut[i32]){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/meth.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strings` is never used [INFO] [stdout] --> src/strings.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn strings(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuples` is never used [INFO] [stdout] --> src/tuples.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tuples(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/meth.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Line{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 12 | fn len(&self) -> f64{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_and_product` is never used [INFO] [stdout] --> src/tuples.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sum_and_product(x:i32, y: i32) -> (i32,i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `methods` is never used [INFO] [stdout] --> src/meth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn methods(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increase_value` is never used [INFO] [stdout] --> src/func.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn increase_value(x: &mut i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closures` is never used [INFO] [stdout] --> src/clos.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn closures(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functions` is never used [INFO] [stdout] --> src/func.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn functions(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> src/high.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(x: u32) ->bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/meth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/meth.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `higher_order_functions` is never used [INFO] [stdout] --> src/high.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn higher_order_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/meth.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Line{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 12 | fn len(&self) -> f64{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `methods` is never used [INFO] [stdout] --> src/meth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn methods(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animal` is never used [INFO] [stdout] --> src/trt.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closures` is never used [INFO] [stdout] --> src/clos.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn closures(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_even` is never used [INFO] [stdout] --> src/high.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn is_even(x: u32) ->bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Human` is never constructed [INFO] [stdout] --> src/trt.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Human{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/trt.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Cat{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `higher_order_functions` is never used [INFO] [stdout] --> src/high.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn higher_order_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Summable` is never used [INFO] [stdout] --> src/trt.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | trait Summable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animal` is never used [INFO] [stdout] --> src/trt.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traits` is never used [INFO] [stdout] --> src/trt.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn traits(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Human` is never constructed [INFO] [stdout] --> src/trt.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Human{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/trt.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Cat{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Summable` is never used [INFO] [stdout] --> src/trt.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | trait Summable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traits` is never used [INFO] [stdout] --> src/trt.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn traits(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "1cac6e0eda510d1282bc6aa5709cd0ea60ea5a6aa943668cd5b0655f7dcbabeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cac6e0eda510d1282bc6aa5709cd0ea60ea5a6aa943668cd5b0655f7dcbabeb", kill_on_drop: false }` [INFO] [stdout] 1cac6e0eda510d1282bc6aa5709cd0ea60ea5a6aa943668cd5b0655f7dcbabeb