[INFO] cloning repository https://github.com/x931890193/hello_world [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/x931890193/hello_world" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx931890193%2Fhello_world", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx931890193%2Fhello_world'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48c1c59ff7db089da742c6267117d181bcb89c9d [INFO] checking x931890193/hello_world against master#e08b80c0fb7667bdcd040761891701e576c42ec8 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx931890193%2Fhello_world" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/x931890193/hello_world on toolchain e08b80c0fb7667bdcd040761891701e576c42ec8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/x931890193/hello_world [INFO] finished tweaking git repo https://github.com/x931890193/hello_world [INFO] tweaked toml for git repo https://github.com/x931890193/hello_world written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/x931890193/hello_world 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" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking x931890193/hello_world against try#f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx931890193%2Fhello_world" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/x931890193/hello_world on toolchain f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/x931890193/hello_world [INFO] finished tweaking git repo https://github.com/x931890193/hello_world [INFO] tweaked toml for git repo https://github.com/x931890193/hello_world written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/x931890193/hello_world 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" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded num-complex v0.4.1 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96df54c50b1796cb87a318fdd38c362ee4a28b7ec8387527989a206c4e746e92 [INFO] running `Command { std: "docker" "start" "-a" "96df54c50b1796cb87a318fdd38c362ee4a28b7ec8387527989a206c4e746e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96df54c50b1796cb87a318fdd38c362ee4a28b7ec8387527989a206c4e746e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96df54c50b1796cb87a318fdd38c362ee4a28b7ec8387527989a206c4e746e92", kill_on_drop: false }` [INFO] [stdout] 96df54c50b1796cb87a318fdd38c362ee4a28b7ec8387527989a206c4e746e92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ab9e3e21e2b4c4f84e9d93f9692d5045ed166176901bc0ae1945893242a84f2 [INFO] running `Command { std: "docker" "start" "-a" "6ab9e3e21e2b4c4f84e9d93f9692d5045ed166176901bc0ae1945893242a84f2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::Ref` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Ref` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (i, ®ion) in regions.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `birds` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let birds: [Box; 2] = [Box::new(Swan{}), Box::new(Duck{})]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_birds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (i, ®ion) in regions.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `birds` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let birds: [Box; 2] = [Box::new(Swan{}), Box::new(Duck{})]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_birds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut c = 30i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | #[warn(unused_mut)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut c = 30i32; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | #[warn(unused_mut)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let slice = &arr[1..]; // [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let slice = &arr[1..]; // [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let black = Color(0, 0,0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let t = Test; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let first = &v3[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let black = Color(0, 0,0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let t = Test; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let first = &v3[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let mut count = Counter::new(); [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/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let mut count = Counter::new(); [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 `test` is never used [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/main.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn first_word(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word_v2` is never used [INFO] [stdout] --> src/main.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn first_word_v2(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word_v3` is never used [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn first_word_v3(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arr_slice` is never used [INFO] [stdout] --> src/main.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn arr_slice() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_struct` is never used [INFO] [stdout] --> src/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_struct (){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_struct` is never used [INFO] [stdout] --> src/main.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn tuple_struct(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit_like_struct` is never used [INFO] [stdout] --> src/main.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn unit_like_struct() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyOption` is never used [INFO] [stdout] --> src/main.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | enum MyOption { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Result` is never used [INFO] [stdout] --> src/main.rs:280:6 [INFO] [stdout] | [INFO] [stdout] 280 | enum Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test3` is never used [INFO] [stdout] --> src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | fn test3() -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Val` is never constructed [INFO] [stdout] --> src/main.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/main.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 303 | impl Val { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 304 | fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum2` is never used [INFO] [stdout] --> src/main.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn sum2>(x: T, y: T) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/main.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn first_word(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 354 | impl Pair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word_v2` is never used [INFO] [stdout] --> src/main.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn first_word_v2(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fly` is never used [INFO] [stdout] --> src/main.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 464 | impl Swan { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 465 | fn fly(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word_v3` is never used [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn first_word_v3(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `static_dispatch_2` is never used [INFO] [stdout] --> src/main.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | fn static_dispatch_2(x: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arr_slice` is never used [INFO] [stdout] --> src/main.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn arr_slice() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/main.rs:547:7 [INFO] [stdout] | [INFO] [stdout] 547 | trait MyTrait { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_struct` is never used [INFO] [stdout] --> src/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_struct (){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_function` is never used [INFO] [stdout] --> src/main.rs:562:4 [INFO] [stdout] | [INFO] [stdout] 562 | fn my_function(x: impl MyTrait) -> impl MyTrait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_struct` is never used [INFO] [stdout] --> src/main.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn tuple_struct(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit_like_struct` is never used [INFO] [stdout] --> src/main.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn unit_like_struct() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyOption` is never used [INFO] [stdout] --> src/main.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | enum MyOption { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Result` is never used [INFO] [stdout] --> src/main.rs:280:6 [INFO] [stdout] | [INFO] [stdout] 280 | enum Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test3` is never used [INFO] [stdout] --> src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | fn test3() -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Val` is never constructed [INFO] [stdout] --> src/main.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/main.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 303 | impl Val { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 304 | fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum2` is never used [INFO] [stdout] --> src/main.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn sum2>(x: T, y: T) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 354 | impl Pair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fly` is never used [INFO] [stdout] --> src/main.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 464 | impl Swan { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 465 | fn fly(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `static_dispatch_2` is never used [INFO] [stdout] --> src/main.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | fn static_dispatch_2(x: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/main.rs:547:7 [INFO] [stdout] | [INFO] [stdout] 547 | trait MyTrait { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_function` is never used [INFO] [stdout] --> src/main.rs:562:4 [INFO] [stdout] | [INFO] [stdout] 562 | fn my_function(x: impl MyTrait) -> impl MyTrait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "6ab9e3e21e2b4c4f84e9d93f9692d5045ed166176901bc0ae1945893242a84f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab9e3e21e2b4c4f84e9d93f9692d5045ed166176901bc0ae1945893242a84f2", kill_on_drop: false }` [INFO] [stdout] 6ab9e3e21e2b4c4f84e9d93f9692d5045ed166176901bc0ae1945893242a84f2