[INFO] cloning repository https://github.com/chalmery/Rust_Learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chalmery/Rust_Learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchalmery%2FRust_Learn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchalmery%2FRust_Learn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 996360f930460993a5432e24fde9dce2b72f38ef [INFO] building chalmery/Rust_Learn against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchalmery%2FRust_Learn" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chalmery/Rust_Learn on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chalmery/Rust_Learn [INFO] finished tweaking git repo https://github.com/chalmery/Rust_Learn [INFO] tweaked toml for git repo https://github.com/chalmery/Rust_Learn written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chalmery/Rust_Learn 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8484fb7f7b98263ea0fab055e410a54a817aad8a58f28cf656724fb4895db93e [INFO] running `Command { std: "docker" "start" "-a" "8484fb7f7b98263ea0fab055e410a54a817aad8a58f28cf656724fb4895db93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8484fb7f7b98263ea0fab055e410a54a817aad8a58f28cf656724fb4895db93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8484fb7f7b98263ea0fab055e410a54a817aad8a58f28cf656724fb4895db93e", kill_on_drop: false }` [INFO] [stdout] 8484fb7f7b98263ea0fab055e410a54a817aad8a58f28cf656724fb4895db93e [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6434e8e77cd86b94f959b328541561aee6f9e4b40cd29a7a32fcb06835359a91 [INFO] running `Command { std: "docker" "start" "-a" "6434e8e77cd86b94f959b328541561aee6f9e4b40cd29a7a32fcb06835359a91", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust_learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `News`, `Summary`, and `Tweet` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use l_trait::{News, Summary,Tweet}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item2` [INFO] [stdout] --> src/l_trait.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn notify1(item1: T, item2: T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/l_trait.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn notify2(item: impl Summary + Display) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/l_trait.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn notify3(item: T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/l_trait.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sc(a: T, b: U) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/l_trait.rs:51:57 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sc(a: T, b: U) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/l_trait.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sc2(a: T, b: U) -> String [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/l_trait.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sc2(a: T, b: U) -> String [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let result = largest(&num); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `car_res` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let car_res = largest(&chr); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_car_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_res` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let str_res = largest(&str); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `summarize` and `summarize_author` are never used [INFO] [stdout] --> src/l_trait.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Summary { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 4 | //接口方法的默认实现 [INFO] [stdout] 5 | fn summarize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn summarize_author(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headline` and `location` are never read [INFO] [stdout] --> src/l_trait.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct News { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | pub headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify` is never used [INFO] [stdout] --> src/l_trait.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn notify(item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify1` is never used [INFO] [stdout] --> src/l_trait.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn notify1(item1: T, item2: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify2` is never used [INFO] [stdout] --> src/l_trait.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn notify2(item: impl Summary + Display) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify3` is never used [INFO] [stdout] --> src/l_trait.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn notify3(item: T) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sc` is never used [INFO] [stdout] --> src/l_trait.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sc(a: T, b: U) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sc2` is never used [INFO] [stdout] --> src/l_trait.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sc2(a: T, b: U) -> String [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ret` is never used [INFO] [stdout] --> src/l_trait.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn ret() -> impl Summary { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/l_trait.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct Pair{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/l_trait.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Pair { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 77 | fn new (x: T, y:T) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_display` is never used [INFO] [stdout] --> src/l_trait.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Pair { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] 84 | fn cmp_display(&self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "6434e8e77cd86b94f959b328541561aee6f9e4b40cd29a7a32fcb06835359a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6434e8e77cd86b94f959b328541561aee6f9e4b40cd29a7a32fcb06835359a91", kill_on_drop: false }` [INFO] [stdout] 6434e8e77cd86b94f959b328541561aee6f9e4b40cd29a7a32fcb06835359a91 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4f35b6d10e11cff55dde0d8100bf10056cb7c50c4cfaff9b74f10d2b3386aa7 [INFO] running `Command { std: "docker" "start" "-a" "f4f35b6d10e11cff55dde0d8100bf10056cb7c50c4cfaff9b74f10d2b3386aa7", kill_on_drop: false }` [INFO] [stderr] Compiling rust_learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `News`, `Summary`, and `Tweet` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use l_trait::{News, Summary,Tweet}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item2` [INFO] [stdout] --> src/l_trait.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn notify1(item1: T, item2: T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/l_trait.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn notify2(item: impl Summary + Display) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/l_trait.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn notify3(item: T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/l_trait.rs:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sc(a: T, b: U) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/l_trait.rs:51:57 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sc(a: T, b: U) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/l_trait.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sc2(a: T, b: U) -> String [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/l_trait.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sc2(a: T, b: U) -> String [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let result = largest(&num); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `car_res` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let car_res = largest(&chr); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_car_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_res` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let str_res = largest(&str); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `summarize` and `summarize_author` are never used [INFO] [stdout] --> src/l_trait.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Summary { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 4 | //接口方法的默认实现 [INFO] [stdout] 5 | fn summarize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn summarize_author(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headline` and `location` are never read [INFO] [stdout] --> src/l_trait.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct News { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | pub headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify` is never used [INFO] [stdout] --> src/l_trait.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn notify(item: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify1` is never used [INFO] [stdout] --> src/l_trait.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn notify1(item1: T, item2: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify2` is never used [INFO] [stdout] --> src/l_trait.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn notify2(item: impl Summary + Display) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify3` is never used [INFO] [stdout] --> src/l_trait.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn notify3(item: T) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sc` is never used [INFO] [stdout] --> src/l_trait.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sc(a: T, b: U) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sc2` is never used [INFO] [stdout] --> src/l_trait.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sc2(a: T, b: U) -> String [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ret` is never used [INFO] [stdout] --> src/l_trait.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn ret() -> impl Summary { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/l_trait.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct Pair{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/l_trait.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Pair { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 77 | fn new (x: T, y:T) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_display` is never used [INFO] [stdout] --> src/l_trait.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Pair { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] 84 | fn cmp_display(&self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "f4f35b6d10e11cff55dde0d8100bf10056cb7c50c4cfaff9b74f10d2b3386aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f35b6d10e11cff55dde0d8100bf10056cb7c50c4cfaff9b74f10d2b3386aa7", kill_on_drop: false }` [INFO] [stdout] f4f35b6d10e11cff55dde0d8100bf10056cb7c50c4cfaff9b74f10d2b3386aa7