[INFO] cloning repository https://github.com/dreamerldq/learning-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dreamerldq/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 126108aa23f9d6566133883ba782bb81311191a7 [INFO] checking dreamerldq/learning-rust against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 86% (1707/1965) Updating files: 87% (1710/1965) Updating files: 88% (1730/1965) Updating files: 89% (1749/1965) Updating files: 90% (1769/1965) Updating files: 91% (1789/1965) Updating files: 92% (1808/1965) Updating files: 93% (1828/1965) Updating files: 94% (1848/1965) Updating files: 95% (1867/1965) Updating files: 96% (1887/1965) Updating files: 97% (1907/1965) Updating files: 98% (1926/1965) Updating files: 99% (1946/1965) Updating files: 100% (1965/1965) Updating files: 100% (1965/1965), done. [INFO] started tweaking git repo https://github.com/dreamerldq/learning-rust [INFO] finished tweaking git repo https://github.com/dreamerldq/learning-rust [INFO] tweaked toml for git repo https://github.com/dreamerldq/learning-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dreamerldq/learning-rust on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dreamerldq/learning-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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 [INFO] checking dreamerldq/learning-rust against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdreamerldq%2Flearning-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 87% (1711/1965) Updating files: 88% (1730/1965) Updating files: 89% (1749/1965) Updating files: 90% (1769/1965) Updating files: 91% (1789/1965) Updating files: 92% (1808/1965) Updating files: 93% (1828/1965) Updating files: 94% (1848/1965) Updating files: 95% (1867/1965) Updating files: 96% (1887/1965) Updating files: 97% (1907/1965) Updating files: 98% (1926/1965) Updating files: 99% (1946/1965) Updating files: 100% (1965/1965) Updating files: 100% (1965/1965), done. [INFO] started tweaking git repo https://github.com/dreamerldq/learning-rust [INFO] finished tweaking git repo https://github.com/dreamerldq/learning-rust [INFO] tweaked toml for git repo https://github.com/dreamerldq/learning-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dreamerldq/learning-rust on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dreamerldq/learning-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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 html2md v0.2.13 [INFO] [stderr] Downloaded redox_syscall v0.2.12 [INFO] [stderr] Downloaded combine v4.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3021294668c50313535ccc3e88c633f55fa3e03930d5be17513cdc366671e3ed [INFO] running `Command { std: "docker" "start" "-a" "3021294668c50313535ccc3e88c633f55fa3e03930d5be17513cdc366671e3ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3021294668c50313535ccc3e88c633f55fa3e03930d5be17513cdc366671e3ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3021294668c50313535ccc3e88c633f55fa3e03930d5be17513cdc366671e3ed", kill_on_drop: false }` [INFO] [stdout] 3021294668c50313535ccc3e88c633f55fa3e03930d5be17513cdc366671e3ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04bc6c229759d5b0d8d053a1e473e3d450af992217bbe66b54f95b775330933f [INFO] running `Command { std: "docker" "start" "-a" "04bc6c229759d5b0d8d053a1e473e3d450af992217bbe66b54f95b775330933f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking ltrait v0.1.0 (/opt/rustwide/workdir/ltrait) [INFO] [stderr] Checking genericty v0.1.0 (/opt/rustwide/workdir/genericty) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> ltrait/src/main.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | if(self.x>=self.y){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - if(self.x>=self.y){ [INFO] [stdout] 54 + if self.x>=self.y { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item2` [INFO] [stdout] --> ltrait/src/main.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn notify3(item1: impl Summary, item2: impl Summary + Display){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item1` [INFO] [stdout] --> ltrait/src/main.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn notify4(item:T, item1:T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> ltrait/src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn notify5(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: struct `NewsArtical` is never constructed [INFO] [stdout] --> ltrait/src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct NewsArtical { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> ltrait/src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Pair{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ltrait/src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Pair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 48 | fn new(x:T, y: T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_display` is never used [INFO] [stdout] --> ltrait/src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Pair { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] 53 | fn cmp_display(&self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gif v0.10.3 [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> genericty/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let float = Point{x:1.1,y:2.1}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Option` is never used [INFO] [stdout] --> genericty/src/main.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Option{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Result` is never used [INFO] [stdout] --> genericty/src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hashmap v0.1.0 (/opt/rustwide/workdir/hashmap) [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> genericty/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let float = Point{x:1.1,y:2.1}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Option` is never used [INFO] [stdout] --> genericty/src/main.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Option{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Result` is never used [INFO] [stdout] --> genericty/src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking result v0.1.0 (/opt/rustwide/workdir/result) [INFO] [stdout] warning: unused variable: `scores1` [INFO] [stdout] --> hashmap/src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let scores1: HashMap<_, _> = teams.iter().zip(numbers).collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> ltrait/src/main.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | if(self.x>=self.y){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - if(self.x>=self.y){ [INFO] [stdout] 54 + if self.x>=self.y { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item2` [INFO] [stdout] --> ltrait/src/main.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn notify3(item1: impl Summary, item2: impl Summary + Display){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item1` [INFO] [stdout] --> ltrait/src/main.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn notify4(item:T, item1:T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> ltrait/src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn notify5(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: struct `NewsArtical` is never constructed [INFO] [stdout] --> ltrait/src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct NewsArtical { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> ltrait/src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Pair{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ltrait/src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Pair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 48 | fn new(x:T, y: T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_display` is never used [INFO] [stdout] --> ltrait/src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Pair { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] 53 | fn cmp_display(&self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking collections v0.1.0 (/opt/rustwide/workdir/collections) [INFO] [stderr] Checking world_hello v0.1.0 (/opt/rustwide/workdir/learning) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> result/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `id` in this scope [INFO] [stdout] --> result/src/main.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `id` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `id`, use `cargo add id` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 - fn read_username_from_file() -> Result { [INFO] [stdout] 44 + fn read_username_from_file() -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> learning/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | never_return(); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 8 | assert_eq!(s, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `result` (bin "result") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> learning/src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let s = sum(x, y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> collections/src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let v1 = vec![1,2,3,4]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> collections/src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let row = vec![ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> collections/src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let s = format!("{}-{}-{}", s4,s5,s6); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> collections/src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 - Int(i32), [INFO] [stdout] 2 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> collections/src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Float(f64), [INFO] [stdout] 3 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> collections/src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Text(String), [INFO] [stdout] 4 + Text(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04bc6c229759d5b0d8d053a1e473e3d450af992217bbe66b54f95b775330933f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04bc6c229759d5b0d8d053a1e473e3d450af992217bbe66b54f95b775330933f", kill_on_drop: false }` [INFO] [stdout] 04bc6c229759d5b0d8d053a1e473e3d450af992217bbe66b54f95b775330933f