[INFO] cloning repository https://github.com/huyanhai/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huyanhai/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyanhai%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyanhai%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d361e3ad1754fe2a4beacdd9a8c284b1397bbd5f [INFO] checking huyanhai/rust against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyanhai%2Frust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/huyanhai/rust [INFO] finished tweaking git repo https://github.com/huyanhai/rust [INFO] tweaked toml for git repo https://github.com/huyanhai/rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/huyanhai/rust on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/huyanhai/rust 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking huyanhai/rust against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyanhai%2Frust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/huyanhai/rust [INFO] finished tweaking git repo https://github.com/huyanhai/rust [INFO] tweaked toml for git repo https://github.com/huyanhai/rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/huyanhai/rust on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/huyanhai/rust 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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 syn v2.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a42575fab6880dc77f6ffbb900681b8b1b5341110697056f38d8b2ebcb777b82 [INFO] running `Command { std: "docker" "start" "-a" "a42575fab6880dc77f6ffbb900681b8b1b5341110697056f38d8b2ebcb777b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a42575fab6880dc77f6ffbb900681b8b1b5341110697056f38d8b2ebcb777b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42575fab6880dc77f6ffbb900681b8b1b5341110697056f38d8b2ebcb777b82", kill_on_drop: false }` [INFO] [stdout] a42575fab6880dc77f6ffbb900681b8b1b5341110697056f38d8b2ebcb777b82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4b68fb677ae2a3c3772456b34a114355140715da40bb4c497ed55680fbed853 [INFO] running `Command { std: "docker" "start" "-a" "a4b68fb677ae2a3c3772456b34a114355140715da40bb4c497ed55680fbed853", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `fmt::Result`, and `string` [INFO] [stdout] --> src/test_var.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, env, fmt::Result, fs::File, io::Read, string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod test_var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `item` should have an upper camel case name [INFO] [stdout] --> src/test_var.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | type item; // 这个是接口的关联类型,可以在实现的时候指定为具体的类型 [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `fmt::Result`, and `string` [INFO] [stdout] --> src/test_var.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, env, fmt::Result, fs::File, io::Read, string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `item` should have an upper camel case name [INFO] [stdout] --> src/test_var.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | type item; // 这个是接口的关联类型,可以在实现的时候指定为具体的类型 [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_var.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut str1 = test(&mut str); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_var.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut foo1 = &mut foo; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/test_var.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let string = String::from("hello!!!"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/test_var.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let result: &str; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string1` [INFO] [stdout] --> src/test_var.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let string1 = String::from("world"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_var.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut str1 = test(&mut str); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_var.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut foo1 = &mut foo; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FILE_NAME` is never used [INFO] [stdout] --> src/demos/demo01.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static FILE_NAME: &'static str = "dist/01.ppm"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/demos/demo01.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(origin: Vec3, direction: Vec3, time: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> src/test_var.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/test_var.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn test(foo: &mut Foo) -> &mut Foo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_var` is never used [INFO] [stdout] --> src/test_var.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn test_var() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> src/test_var.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_arr` is never used [INFO] [stdout] --> src/test_var.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn test_arr() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/test_var.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Size` is never constructed [INFO] [stdout] --> src/test_var.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/test_var.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_color`, and `get_size` are never used [INFO] [stdout] --> src/test_var.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(color: Color, size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_color(&self) -> &Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_size(&self) -> &Size { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_impl` is never used [INFO] [stdout] --> src/test_var.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn test_impl() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/test_var.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_point` is never used [INFO] [stdout] --> src/test_var.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Point { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 122 | fn get_point(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is never used [INFO] [stdout] --> src/test_var.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | trait Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/test_var.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest` is never used [INFO] [stdout] --> src/test_var.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn largest(list: &[T]) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_max` is never used [INFO] [stdout] --> src/test_var.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn get_max<'a>(a: &'a str, b: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_quote` is never used [INFO] [stdout] --> src/test_var.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn test_quote() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_macro_fn` is never used [INFO] [stdout] --> src/test_var.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn test_macro_fn() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_format` is never used [INFO] [stdout] --> src/test_var.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn test_format() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/test_var.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let string = String::from("hello!!!"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/test_var.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let result: &str; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string1` [INFO] [stdout] --> src/test_var.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let string1 = String::from("world"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FILE_NAME` is never used [INFO] [stdout] --> src/demos/demo01.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static FILE_NAME: &'static str = "dist/01.ppm"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/demos/demo01.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(origin: Vec3, direction: Vec3, time: f64) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> src/test_var.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/test_var.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn test(foo: &mut Foo) -> &mut Foo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_var` is never used [INFO] [stdout] --> src/test_var.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn test_var() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test2` is never used [INFO] [stdout] --> src/test_var.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn test2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_arr` is never used [INFO] [stdout] --> src/test_var.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn test_arr() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/test_var.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Size` is never constructed [INFO] [stdout] --> src/test_var.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/test_var.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Car { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_color`, and `get_size` are never used [INFO] [stdout] --> src/test_var.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(color: Color, size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_color(&self) -> &Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_size(&self) -> &Size { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_impl` is never used [INFO] [stdout] --> src/test_var.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn test_impl() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/test_var.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_point` is never used [INFO] [stdout] --> src/test_var.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Point { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 122 | fn get_point(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is never used [INFO] [stdout] --> src/test_var.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | trait Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/test_var.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest` is never used [INFO] [stdout] --> src/test_var.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn largest(list: &[T]) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_max` is never used [INFO] [stdout] --> src/test_var.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn get_max<'a>(a: &'a str, b: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_quote` is never used [INFO] [stdout] --> src/test_var.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn test_quote() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_macro_fn` is never used [INFO] [stdout] --> src/test_var.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn test_macro_fn() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_format` is never used [INFO] [stdout] --> src/test_var.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn test_format() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "a4b68fb677ae2a3c3772456b34a114355140715da40bb4c497ed55680fbed853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b68fb677ae2a3c3772456b34a114355140715da40bb4c497ed55680fbed853", kill_on_drop: false }` [INFO] [stdout] a4b68fb677ae2a3c3772456b34a114355140715da40bb4c497ed55680fbed853