[INFO] cloning repository https://github.com/YoruAi/RustStudy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YoruAi/RustStudy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoruAi%2FRustStudy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoruAi%2FRustStudy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3520973f0097d52a13779d1137493ca9e422d5c0 [INFO] checking YoruAi/RustStudy against 8d1a76430406c877b35d0b627e7f796dcf0dfeca+rustflags=-Aunfulfilled-lint-expectations for pr-163637 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoruAi%2FRustStudy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/YoruAi/RustStudy [INFO] finished tweaking git repo https://github.com/YoruAi/RustStudy [INFO] tweaked toml for git repo https://github.com/YoruAi/RustStudy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YoruAi/RustStudy on toolchain 8d1a76430406c877b35d0b627e7f796dcf0dfeca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YoruAi/RustStudy 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" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh-derive v1.6.0 [INFO] [stderr] Downloaded rust_decimal v1.40.0 [INFO] [stderr] Downloaded inherent v1.0.13 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded sea-orm-macros v1.1.19 [INFO] [stderr] Downloaded bcrypt v0.18.0 [INFO] [stderr] Downloaded trpl v0.3.0 [INFO] [stderr] Downloaded scraper v0.20.0 [INFO] [stderr] Downloaded sea-orm v1.1.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238 [INFO] running `Command { std: "docker" "start" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238" "/opt/rustwide/cargo-home/bin/cargo" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238" "/opt/rustwide/cargo-home/bin/cargo" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling hello-macro-function v0.1.0 (/opt/rustwide/workdir/chapter20-advanced-features/hello-macro-function) [INFO] [stderr] Checking chapter12-io-project v0.1.0 (/opt/rustwide/workdir/chapter12-io-project) [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking chapter11-tests v0.1.0 (/opt/rustwide/workdir/chapter11-tests) [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking chapter21-web-server-project v0.1.0 (/opt/rustwide/workdir/chapter21-web-server-project) [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking bcrypt v0.18.0 [INFO] [stderr] Checking chapter13-functional-features v0.1.0 (/opt/rustwide/workdir/chapter13-functional-features) [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> chapter11-tests/src/bin/tests.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn add(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut v1 = vec![1, 2, 3]; [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: unused variable: `v1_iter` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let v1_iter = v1.iter(); // & [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v1_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1_iter` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let v1_iter = v1.iter_mut(); // &mut [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v1_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let count = v1.iter().count(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collect` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let collect: Vec = v1.iter().copied().collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> chapter13-functional-features/src/bin/closures.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let closure = |num: u32| -> u32 { num }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [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] --> chapter13-functional-features/src/bin/closures.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let s = closure(String::from("hello")); [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] --> chapter13-functional-features/src/bin/iterator.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut v1 = vec![1, 2, 3]; [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: unused variable: `v1_iter` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let v1_iter = v1.iter(); // & [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v1_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1_iter` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let v1_iter = v1.iter_mut(); // &mut [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v1_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let count = v1.iter().count(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collect` [INFO] [stdout] --> chapter13-functional-features/src/bin/iterator.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let collect: Vec = v1.iter().copied().collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter07-crates-and-modules v0.1.0 (/opt/rustwide/workdir/chapter07-crates-and-modules) [INFO] [stderr] Checking appendix v0.1.0 (/opt/rustwide/workdir/appendix) [INFO] [stderr] Checking chapter15-smart-pointer v0.1.0 (/opt/rustwide/workdir/chapter15-smart-pointer) [INFO] [stderr] Checking chapter19-patterns-and-matching v0.1.0 (/opt/rustwide/workdir/chapter19-patterns-and-matching) [INFO] [stderr] Checking chapter08-collections v0.1.0 (/opt/rustwide/workdir/chapter08-collections) [INFO] [stderr] Checking chapter05-structs v0.1.0 (/opt/rustwide/workdir/chapter05-structs) [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> chapter13-functional-features/src/bin/closures.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let closure = |num: u32| -> u32 { num }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [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] --> chapter13-functional-features/src/bin/closures.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let s = closure(String::from("hello")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter16-concurrency v0.1.0 (/opt/rustwide/workdir/chapter16-concurrency) [INFO] [stderr] Checking chapter10-generic-traits-lifetimes v0.1.0 (/opt/rustwide/workdir/chapter10-generic-traits-lifetimes) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let Point { x: a, y: b } = p; [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: `b` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let Point { x: a, y: b } = p; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let Point { x, y } = p; // shorthand [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let Point { x, y } = p; // shorthand [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feet` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 }); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_feet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inches` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 }); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 }); [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 }); [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | let (a, .., d) = (1, 2, 3, 4); // ignore remaining parts of a value(unambiguous) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let (a, .., d) = (1, 2, 3, 4); // ignore remaining parts of a value(unambiguous) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rgb` is never constructed [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 55 | Rgb(i32, i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 59 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Write(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> chapter19-patterns-and-matching/src/bin/pattern_syntax.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn foo(_: i32, y: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter03-common-concepts v0.1.0 (/opt/rustwide/workdir/chapter03-common-concepts) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> chapter16-concurrency/src/bin/message_passing.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let err = rx.try_recv().unwrap_err(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> appendix/src/bin/c.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> chapter10-generic-traits-lifetimes/src/bin/generic.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let result = largest(&number_list); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> chapter10-generic-traits-lifetimes/src/bin/generic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `mix` are never used [INFO] [stdout] --> chapter10-generic-traits-lifetimes/src/bin/generic.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Point { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 28 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn mix(self, other: Point) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter14-cargo v0.1.0 (/opt/rustwide/workdir/chapter14-cargo) [INFO] [stderr] Checking chapter06-enums-and-match v0.1.0 (/opt/rustwide/workdir/chapter06-enums-and-match) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> chapter15-smart-pointer/src/bin/drop.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let c = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> chapter08-collections/src/bin/hash_map.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let score = scores.get(&team_name).copied(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_team_name` [INFO] [stdout] --> chapter08-collections/src/bin/hash_map.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let (best_team_name, _) = scores.iter().max_by_key(|&(_, v)| v).expect("empty"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_team_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `employees` [INFO] [stdout] --> chapter08-collections/src/bin/hash_map.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let employees = if let Some(employees) = company.get(&dept) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_employees` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter01-helloworld v0.1.0 (/opt/rustwide/workdir/chapter01-helloworld) [INFO] [stdout] warning: enum `IpAddrKind` is never used [INFO] [stdout] --> chapter06-enums-and-match/src/bin/enums_and_match.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> chapter06-enums-and-match/src/bin/enums_and_match.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 - V4(u8, u8, u8, u8), [INFO] [stdout] 8 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter06-enums-and-match/src/bin/enums_and_match.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 9 - V6(String), [INFO] [stdout] 9 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> chapter06-enums-and-match/src/bin/enums_and_match.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 13 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Write(String), [INFO] [stdout] 16 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> chapter15-smart-pointer/src/bin/ptr_box.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let list = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil)))); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> chapter15-smart-pointer/src/bin/ptr_box.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - Cons(i32, Box), [INFO] [stdout] 9 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string3` [INFO] [stdout] --> chapter10-generic-traits-lifetimes/src/bin/lifetime.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let string3 = String::from("'b"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string3` [INFO] [stdout] --> chapter10-generic-traits-lifetimes/src/bin/lifetime.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let string3 = String::from("'a"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `announce` is never used [INFO] [stdout] --> chapter10-generic-traits-lifetimes/src/bin/lifetime.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 38 | fn announce<'b>(&self, announcement: &'b str) -> &'b str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter18-object-oriented v0.1.0 (/opt/rustwide/workdir/chapter18-object-oriented) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut v: Vec = Vec::new(); // omitted type if compiler can infer [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: unused variable: `v` [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut v: Vec = Vec::new(); // omitted type if compiler can infer [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third` [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let third = v.get(2); // will return None if out of bounds [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_third` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let row = vec![ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 21 - Int(i32), [INFO] [stdout] 21 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter04-ownership v0.1.0 (/opt/rustwide/workdir/chapter04-ownership) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 22 - Float(f64), [INFO] [stdout] 22 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter08-collections/src/bin/vector.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 23 - Text(String), [INFO] [stdout] 23 + Text(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> chapter15-smart-pointer/src/bin/ptr_ref_cell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapter15-smart-pointer/src/bin/ptr_ref_cell.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | Cons(RefCell, Rc), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 24 - Cons(RefCell, Rc), [INFO] [stdout] 24 + Cons(RefCell, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> chapter18-object-oriented/src/bin/oop_features.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter09-error v0.1.0 (/opt/rustwide/workdir/chapter09-error) [INFO] [stderr] error: could not compile `zerocopy` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8d1a76430406c877b35d0b627e7f796dcf0dfeca/bin/rustc --crate-name zerocopy --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zerocopy-0.8.39/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat,unused-externs-silent --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=4ad22931f5275d9b -C extra-filename=-49bc10554f55bd0e --out-dir /opt/rustwide/target/debug/build/zerocopy/49bc10554f55bd0e/out --cap-lints allow --cap-lints=forbid -Aunfulfilled-lint-expectations --force-warn=unused_crate_dependencies --check-cfg 'cfg(no_zerocopy_simd_x86_avx12_1_89_0)' --check-cfg 'cfg(rust, values("1.89.0"))' --check-cfg 'cfg(no_zerocopy_core_error_1_81_0)' --check-cfg 'cfg(rust, values("1.81.0"))' --check-cfg 'cfg(no_zerocopy_diagnostic_on_unimplemented_1_78_0)' --check-cfg 'cfg(rust, values("1.78.0"))' --check-cfg 'cfg(no_zerocopy_generic_bounds_in_const_fn_1_61_0)' --check-cfg 'cfg(rust, values("1.61.0"))' --check-cfg 'cfg(no_zerocopy_target_has_atomics_1_60_0)' --check-cfg 'cfg(rust, values("1.60.0"))' --check-cfg 'cfg(no_zerocopy_aarch64_simd_1_59_0)' --check-cfg 'cfg(rust, values("1.59.0"))' --check-cfg 'cfg(no_zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)' --check-cfg 'cfg(rust, values("1.57.0"))' --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(kani)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_DEV_MODE)' --check-cfg 'cfg(coverage_nightly)'` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `readme_file` [INFO] [stdout] --> chapter09-error/src/bin/result.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let readme_file = readme_file_result.unwrap_or_else(|error| match error.kind() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readme_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readme_file` [INFO] [stdout] --> chapter09-error/src/bin/result.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let readme_file = File::open("README.md").expect("open file error"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readme_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_content_from_file` is never used [INFO] [stdout] --> chapter09-error/src/bin/result.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_content_from_file() -> Result { [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 `read_content_from_file_simple` is never used [INFO] [stdout] --> chapter09-error/src/bin/result.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn read_content_from_file_simple() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_char_of_first_line` is never used [INFO] [stdout] --> chapter09-error/src/bin/result.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn last_char_of_first_line(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8d1a76430406c877b35d0b627e7f796dcf0dfeca/bin/rustc --crate-name zerocopy --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zerocopy-0.8.39/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat,unused-externs-silent --crate-type lib --emit=dep-info,metadata,link -Z embed-metadata=no -C embed-bitcode=no --cfg 'feature="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=2cd9f1978416128d -C extra-filename=-9f7f3b71f1559d55 --out-dir /opt/rustwide/target/debug/build/zerocopy/9f7f3b71f1559d55/out --cap-lints allow --cap-lints=forbid -Aunfulfilled-lint-expectations --force-warn=unused_crate_dependencies --check-cfg 'cfg(no_zerocopy_simd_x86_avx12_1_89_0)' --check-cfg 'cfg(rust, values("1.89.0"))' --check-cfg 'cfg(no_zerocopy_core_error_1_81_0)' --check-cfg 'cfg(rust, values("1.81.0"))' --check-cfg 'cfg(no_zerocopy_diagnostic_on_unimplemented_1_78_0)' --check-cfg 'cfg(rust, values("1.78.0"))' --check-cfg 'cfg(no_zerocopy_generic_bounds_in_const_fn_1_61_0)' --check-cfg 'cfg(rust, values("1.61.0"))' --check-cfg 'cfg(no_zerocopy_target_has_atomics_1_60_0)' --check-cfg 'cfg(rust, values("1.60.0"))' --check-cfg 'cfg(no_zerocopy_aarch64_simd_1_59_0)' --check-cfg 'cfg(rust, values("1.59.0"))' --check-cfg 'cfg(no_zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)' --check-cfg 'cfg(rust, values("1.57.0"))' --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(kani)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_DEV_MODE)' --check-cfg 'cfg(coverage_nightly)'` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter15-smart-pointer/src/bin/ptr_weak.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 - Cons(i32, RefCell>), [INFO] [stdout] 11 + Cons((), RefCell>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> chapter15-smart-pointer/src/bin/ptr_weak.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | parent: RefCell>, [INFO] [stdout] 26 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238", kill_on_drop: false }` [INFO] [stdout] 38a268ed59f0226d6c0c822e13f6a09dc39a3bd4ad69915a055ef6e5ceaeb238