[INFO] cloning repository https://github.com/webern/rs_book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webern/rs_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebern%2Frs_book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebern%2Frs_book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1d8d67014f7b2bb78519c3a71c142f73e5f22d5 [INFO] checking webern/rs_book against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebern%2Frs_book" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/webern/rs_book on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/webern/rs_book [INFO] finished tweaking git repo https://github.com/webern/rs_book [INFO] tweaked toml for git repo https://github.com/webern/rs_book written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/webern/rs_book 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eyre v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0426cb3b9639038c626cf524a595f933bb05aa215cf0f1703c143fab5c2d95ca [INFO] running `Command { std: "docker" "start" "-a" "0426cb3b9639038c626cf524a595f933bb05aa215cf0f1703c143fab5c2d95ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0426cb3b9639038c626cf524a595f933bb05aa215cf0f1703c143fab5c2d95ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0426cb3b9639038c626cf524a595f933bb05aa215cf0f1703c143fab5c2d95ca", kill_on_drop: false }` [INFO] [stdout] 0426cb3b9639038c626cf524a595f933bb05aa215cf0f1703c143fab5c2d95ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 931a7eab03f179895737fb6b96f0391a66a267e73afb9b38fe77a9213f51f782 [INFO] running `Command { std: "docker" "start" "-a" "931a7eab03f179895737fb6b96f0391a66a267e73afb9b38fe77a9213f51f782", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking winnow v0.5.19 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling eyre v0.6.9 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking c_multiple_crates v0.1.0 (/opt/rustwide/workdir/chapter-7/c_multiple_crates) [INFO] [stderr] Checking d_custom_crate_files v0.1.0 (/opt/rustwide/workdir/chapter-7/d_custom_crate_files) [INFO] [stderr] Checking chapter-10-traits-lib v0.1.0 (/opt/rustwide/workdir/chapter-10-traits-lib) [INFO] [stderr] Checking chapter-10b-traits v0.1.0 (/opt/rustwide/workdir/chapter-10b-traits) [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking chapter-14 v0.1.0 (/opt/rustwide/workdir/chapter-14) [INFO] [stderr] Checking chapter-16 v0.1.0 (/opt/rustwide/workdir/chapter-16) [INFO] [stderr] Checking chapter-8 v0.1.0 (/opt/rustwide/workdir/chapter-8) [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chapter-13 v0.1.0 (/opt/rustwide/workdir/chapter-13) [INFO] [stderr] Checking chapter-18 v0.1.0 (/opt/rustwide/workdir/chapter-18) [INFO] [stderr] Checking chapter-17 v0.1.0 (/opt/rustwide/workdir/chapter-17) [INFO] [stdout] warning: value assigned to `setting_value` is never read [INFO] [stdout] --> chapter-18/src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | setting_value = new_setting_value; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `x:` in this pattern is redundant [INFO] [stdout] --> chapter-18/src/main.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | Point { x: x, y: y } => { [INFO] [stdout] | ^^^^ help: use shorthand field pattern: `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `y:` in this pattern is redundant [INFO] [stdout] --> chapter-18/src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | Point { x: x, y: y } => { [INFO] [stdout] | ^^^^ help: use shorthand field pattern: `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stdout] warning: value assigned to `setting_value` is never read [INFO] [stdout] --> chapter-18/src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | setting_value = new_setting_value; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter-15 v0.1.0 (/opt/rustwide/workdir/chapter-15) [INFO] [stdout] warning: the `x:` in this pattern is redundant [INFO] [stdout] --> chapter-18/src/main.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | Point { x: x, y: y } => { [INFO] [stdout] | ^^^^ help: use shorthand field pattern: `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `y:` in this pattern is redundant [INFO] [stdout] --> chapter-18/src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | Point { x: x, y: y } => { [INFO] [stdout] | ^^^^ help: use shorthand field pattern: `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter-10c-lifetimes v0.1.0 (/opt/rustwide/workdir/chapter-10c-lifetimes) [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter-6 v0.1.0 (/opt/rustwide/workdir/chapter-6) [INFO] [stderr] Checking chapter-5 v0.1.0 (/opt/rustwide/workdir/chapter-5) [INFO] [stderr] Checking chapter-4 v0.1.0 (/opt/rustwide/workdir/chapter-4) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapter-10a v0.1.0 (/opt/rustwide/workdir/chapter-10a-generics) [INFO] [stderr] Checking b_standard_library v0.1.0 (/opt/rustwide/workdir/chapter-7/b_normal_library) [INFO] [stderr] Checking e_pub_vs_private v0.1.0 (/opt/rustwide/workdir/chapter-7/e_pub_vs_private) [INFO] [stderr] Checking a_standard_binary v0.1.0 (/opt/rustwide/workdir/chapter-7/a_normal_binary) [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stdout] --> chapter-10c-lifetimes/src/main.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(does_not_compile)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking chapter-12 v0.1.0 (/opt/rustwide/workdir/chapter-12) [INFO] [stderr] Checking chapter-3 v0.1.0 (/opt/rustwide/workdir/chapter-3) [INFO] [stderr] Checking chapter-11 v0.1.0 (/opt/rustwide/workdir/chapter-11) [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> chapter-12/src/bin/listing_16.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> chapter-12/src/bin/listing_16.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> chapter-12/src/bin/listing_16.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> chapter-12/src/bin/listing_16.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking chapter-9 v0.1.0 (/opt/rustwide/workdir/chapter-9) [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings) [INFO] [stderr] Checking rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings) [INFO] [stderr] Checking rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings) [INFO] [stderr] Checking rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings) [INFO] [stderr] Checking rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings) [INFO] [stderr] Checking rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings) [INFO] [stderr] Checking rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.59s [INFO] running `Command { std: "docker" "inspect" "931a7eab03f179895737fb6b96f0391a66a267e73afb9b38fe77a9213f51f782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931a7eab03f179895737fb6b96f0391a66a267e73afb9b38fe77a9213f51f782", kill_on_drop: false }` [INFO] [stdout] 931a7eab03f179895737fb6b96f0391a66a267e73afb9b38fe77a9213f51f782