[INFO] cloning repository https://github.com/miniyk2012/intro_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miniyk2012/intro_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminiyk2012%2Fintro_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminiyk2012%2Fintro_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 694471671c1512c60979ba69ce2cca9c09910fb0
[INFO] checking miniyk2012/intro_rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminiyk2012%2Fintro_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/miniyk2012/intro_rust
[INFO] finished tweaking git repo https://github.com/miniyk2012/intro_rust
[INFO] tweaked toml for git repo https://github.com/miniyk2012/intro_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/miniyk2012/intro_rust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/miniyk2012/intro_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" "+1.95.0" "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 tokio-macros v2.0.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.55
[INFO] [stderr]   Downloaded syn v2.0.13
[INFO] [stderr]   Downloaded tokio v1.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76620acaa4220e213dede44461dacf238aaad295c4368e61e2bc84b4dc3b3619
[INFO] running `Command { std: "docker" "start" "-a" "76620acaa4220e213dede44461dacf238aaad295c4368e61e2bc84b4dc3b3619", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76620acaa4220e213dede44461dacf238aaad295c4368e61e2bc84b4dc3b3619", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76620acaa4220e213dede44461dacf238aaad295c4368e61e2bc84b4dc3b3619", kill_on_drop: false }`
[INFO] [stdout] 76620acaa4220e213dede44461dacf238aaad295c4368e61e2bc84b4dc3b3619
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48afde0f424f07342b7068ed189033ef2e5a0f37be5400b2fab986ad2f300bfe
[INFO] running `Command { std: "docker" "start" "-a" "48afde0f424f07342b7068ed189033ef2e5a0f37be5400b2fab986ad2f300bfe", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling proc-macro2 v1.0.55
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling tokio v1.27.0
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling syn v2.0.13
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio-macros v2.0.0
[INFO] [stderr]     Checking helloworld v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/week4/pointer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/week4/pointer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/week3/lifetime.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let a = foo();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/week3/trait_demo.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let s = <A as StreamIterator>::Item::from("abc");
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/week4/asyncstudy.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut rt = Runtime::new().unwrap();
[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/week4/asyncstudy.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut rt = Runtime::new().unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/week4/pointer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let point: Point = origin();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rectangle`
[INFO] [stdout]   --> src/week4/pointer.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let rectangle: Rectangle = Rectangle {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rectangle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boxed_rectangle`
[INFO] [stdout]   --> src/week4/pointer.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let boxed_rectangle: Box<Rectangle> = Box::new(Rectangle {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_rectangle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `module2demo` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn module2demo() {
[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 `module3demo` is never used
[INFO] [stdout]   --> src/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn module3demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `module6demo` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn module6demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `module8demo` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn module8demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `week2demo` is never used
[INFO] [stdout]   --> src/main.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn week2demo() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `week4demo` is never used
[INFO] [stdout]   --> src/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn week4demo() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ASTRING` is never used
[INFO] [stdout]   --> src/week3/lifetime.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static ASTRING: &str = "uvw";
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/week4.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `foo` is never used
[INFO] [stdout]  --> src/week4/asyncstudy.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn foo() -> u8 {
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bar` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn bar() -> impl Future<Output = u8> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bar2` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn bar2() -> u8 {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn example1() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn example2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `task_that_takes_a_second` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | async fn task_that_takes_a_second() {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interval_example` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub async fn interval_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/week4/echo.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub async fn run() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `origin` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn origin() -> Point {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `boxed_origin` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn boxed_origin() -> Box<Point> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn example1() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `A` is never constructed
[INFO] [stdout]   --> src/week4/pointer.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct A;
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn example2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/week4/pointer.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example3` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn example3() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/week3/lifetime.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let a = foo();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         join_handle.await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let _ = join_handle.await;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/week3/trait_demo.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let s = <A as StreamIterator>::Item::from("abc");
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/week4/asyncstudy.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut rt = Runtime::new().unwrap();
[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/week4/asyncstudy.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut rt = Runtime::new().unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/week4/pointer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let point: Point = origin();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rectangle`
[INFO] [stdout]   --> src/week4/pointer.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let rectangle: Rectangle = Rectangle {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rectangle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boxed_rectangle`
[INFO] [stdout]   --> src/week4/pointer.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let boxed_rectangle: Box<Rectangle> = Box::new(Rectangle {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_rectangle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `module2demo` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn module2demo() {
[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 `module3demo` is never used
[INFO] [stdout]   --> src/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn module3demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `module6demo` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn module6demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `module8demo` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn module8demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `week2demo` is never used
[INFO] [stdout]   --> src/main.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn week2demo() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `week4demo` is never used
[INFO] [stdout]   --> src/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn week4demo() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ASTRING` is never used
[INFO] [stdout]   --> src/week3/lifetime.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static ASTRING: &str = "uvw";
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/week4.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `foo` is never used
[INFO] [stdout]  --> src/week4/asyncstudy.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn foo() -> u8 {
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bar` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn bar() -> impl Future<Output = u8> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bar2` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn bar2() -> u8 {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn example1() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn example2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `task_that_takes_a_second` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | async fn task_that_takes_a_second() {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interval_example` is never used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub async fn interval_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/week4/echo.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub async fn run() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `origin` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn origin() -> Point {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `boxed_origin` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn boxed_origin() -> Box<Point> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn example1() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `A` is never constructed
[INFO] [stdout]   --> src/week4/pointer.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct A;
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn example2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/week4/pointer.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example3` is never used
[INFO] [stdout]   --> src/week4/pointer.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn example3() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/week4/asyncstudy.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         join_handle.await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let _ = join_handle.await;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.21s
[INFO] running `Command { std: "docker" "inspect" "48afde0f424f07342b7068ed189033ef2e5a0f37be5400b2fab986ad2f300bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48afde0f424f07342b7068ed189033ef2e5a0f37be5400b2fab986ad2f300bfe", kill_on_drop: false }`
[INFO] [stdout] 48afde0f424f07342b7068ed189033ef2e5a0f37be5400b2fab986ad2f300bfe
