[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] testing webern/rs_book against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebern%2Frs_book" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/webern/rs_book on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9738b592bcfa6e6a6be8d05bfe29ad98b1d604e99340e8b9f3e000214dda2cb7 [INFO] running `Command { std: "docker" "start" "-a" "9738b592bcfa6e6a6be8d05bfe29ad98b1d604e99340e8b9f3e000214dda2cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9738b592bcfa6e6a6be8d05bfe29ad98b1d604e99340e8b9f3e000214dda2cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9738b592bcfa6e6a6be8d05bfe29ad98b1d604e99340e8b9f3e000214dda2cb7", kill_on_drop: false }` [INFO] [stdout] 9738b592bcfa6e6a6be8d05bfe29ad98b1d604e99340e8b9f3e000214dda2cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c6075cfc53b49b8dbaebadc78073e4c84951c68a6d68726f5bbdebf0f6cb779 [INFO] running `Command { std: "docker" "start" "-a" "6c6075cfc53b49b8dbaebadc78073e4c84951c68a6d68726f5bbdebf0f6cb779", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling eyre v0.6.9 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling c_multiple_crates v0.1.0 (/opt/rustwide/workdir/chapter-7/c_multiple_crates) [INFO] [stderr] Compiling chapter-10-traits-lib v0.1.0 (/opt/rustwide/workdir/chapter-10-traits-lib) [INFO] [stderr] Compiling d_custom_crate_files v0.1.0 (/opt/rustwide/workdir/chapter-7/d_custom_crate_files) [INFO] [stderr] Compiling chapter-10b-traits v0.1.0 (/opt/rustwide/workdir/chapter-10b-traits) [INFO] [stderr] Compiling chapter-16 v0.1.0 (/opt/rustwide/workdir/chapter-16) [INFO] [stderr] Compiling chapter-17 v0.1.0 (/opt/rustwide/workdir/chapter-17) [INFO] [stderr] Compiling chapter-18 v0.1.0 (/opt/rustwide/workdir/chapter-18) [INFO] [stderr] Compiling chapter-15 v0.1.0 (/opt/rustwide/workdir/chapter-15) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chapter-8 v0.1.0 (/opt/rustwide/workdir/chapter-8) [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] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling chapter-13 v0.1.0 (/opt/rustwide/workdir/chapter-13) [INFO] [stderr] Compiling chapter-14 v0.1.0 (/opt/rustwide/workdir/chapter-14) [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling chapter-10a v0.1.0 (/opt/rustwide/workdir/chapter-10a-generics) [INFO] [stderr] Compiling chapter-4 v0.1.0 (/opt/rustwide/workdir/chapter-4) [INFO] [stderr] Compiling chapter-10c-lifetimes v0.1.0 (/opt/rustwide/workdir/chapter-10c-lifetimes) [INFO] [stderr] Compiling b_standard_library v0.1.0 (/opt/rustwide/workdir/chapter-7/b_normal_library) [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: `docsrs`, `feature`, and `test` and 31 more [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] Compiling chapter-5 v0.1.0 (/opt/rustwide/workdir/chapter-5) [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling e_pub_vs_private v0.1.0 (/opt/rustwide/workdir/chapter-7/e_pub_vs_private) [INFO] [stderr] Compiling chapter-6 v0.1.0 (/opt/rustwide/workdir/chapter-6) [INFO] [stderr] Compiling a_standard_binary v0.1.0 (/opt/rustwide/workdir/chapter-7/a_normal_binary) [INFO] [stderr] Compiling indicatif v0.17.7 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling chapter-12 v0.1.0 (/opt/rustwide/workdir/chapter-12) [INFO] [stderr] Compiling chapter-11 v0.1.0 (/opt/rustwide/workdir/chapter-11) [INFO] [stderr] Compiling chapter-3 v0.1.0 (/opt/rustwide/workdir/chapter-3) [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)]` (part of `#[warn(unused)]`) 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] [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] Compiling regex v1.10.2 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling chapter-9 v0.1.0 (/opt/rustwide/workdir/chapter-9) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chapter-9/src/lib.rs:136:57 [INFO] [stdout] | [INFO] [stdout] 136 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [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] 136 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] 136 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chapter-9/src/lib.rs:209:57 [INFO] [stdout] | [INFO] [stdout] 209 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] 209 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_spanned v0.6.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings) [INFO] [stderr] Compiling rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings) [INFO] [stderr] Compiling rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings) [INFO] [stderr] Compiling rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings) [INFO] [stderr] Compiling rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings) [INFO] [stderr] Compiling rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings) [INFO] [stderr] Compiling rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-15/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-7/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-10a-generics/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-8/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-13/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-16/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-6/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.46s [INFO] running `Command { std: "docker" "inspect" "6c6075cfc53b49b8dbaebadc78073e4c84951c68a6d68726f5bbdebf0f6cb779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6075cfc53b49b8dbaebadc78073e4c84951c68a6d68726f5bbdebf0f6cb779", kill_on_drop: false }` [INFO] [stdout] 6c6075cfc53b49b8dbaebadc78073e4c84951c68a6d68726f5bbdebf0f6cb779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db794e87e84f718fc97cfaa686acc10a001e33c1b7a72838799b412a1ddfb788 [INFO] running `Command { std: "docker" "start" "-a" "db794e87e84f718fc97cfaa686acc10a001e33c1b7a72838799b412a1ddfb788", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling d_custom_crate_files v0.1.0 (/opt/rustwide/workdir/chapter-7/d_custom_crate_files) [INFO] [stderr] Compiling c_multiple_crates v0.1.0 (/opt/rustwide/workdir/chapter-7/c_multiple_crates) [INFO] [stderr] Compiling chapter-10b-traits v0.1.0 (/opt/rustwide/workdir/chapter-10b-traits) [INFO] [stderr] Compiling chapter-12 v0.1.0 (/opt/rustwide/workdir/chapter-12) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chapter-9/src/lib.rs:136:57 [INFO] [stdout] | [INFO] [stdout] 136 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [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] 136 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] 136 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chapter-9/src/lib.rs:209:57 [INFO] [stdout] | [INFO] [stdout] 209 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] 209 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chapter-9 v0.1.0 (/opt/rustwide/workdir/chapter-9) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chapter-9/src/lib.rs:136:57 [INFO] [stdout] | [INFO] [stdout] 136 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [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] 136 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] 136 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> chapter-9/src/lib.rs:209:57 [INFO] [stdout] | [INFO] [stdout] 209 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stdout] 209 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.9 [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling chapter-3 v0.1.0 (/opt/rustwide/workdir/chapter-3) [INFO] [stderr] Compiling chapter-11 v0.1.0 (/opt/rustwide/workdir/chapter-11) [INFO] [stderr] Compiling chapter-8 v0.1.0 (/opt/rustwide/workdir/chapter-8) [INFO] [stderr] Compiling chapter-13 v0.1.0 (/opt/rustwide/workdir/chapter-13) [INFO] [stderr] Compiling chapter-17 v0.1.0 (/opt/rustwide/workdir/chapter-17) [INFO] [stderr] Compiling chapter-18 v0.1.0 (/opt/rustwide/workdir/chapter-18) [INFO] [stderr] Compiling chapter-16 v0.1.0 (/opt/rustwide/workdir/chapter-16) [INFO] [stderr] Compiling chapter-15 v0.1.0 (/opt/rustwide/workdir/chapter-15) [INFO] [stderr] Compiling chapter-14 v0.1.0 (/opt/rustwide/workdir/chapter-14) [INFO] [stderr] Compiling chapter-5 v0.1.0 (/opt/rustwide/workdir/chapter-5) [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling chapter-6 v0.1.0 (/opt/rustwide/workdir/chapter-6) [INFO] [stderr] Compiling a_standard_binary v0.1.0 (/opt/rustwide/workdir/chapter-7/a_normal_binary) [INFO] [stderr] Compiling chapter-10c-lifetimes v0.1.0 (/opt/rustwide/workdir/chapter-10c-lifetimes) [INFO] [stderr] Compiling e_pub_vs_private v0.1.0 (/opt/rustwide/workdir/chapter-7/e_pub_vs_private) [INFO] [stderr] Compiling chapter-4 v0.1.0 (/opt/rustwide/workdir/chapter-4) [INFO] [stderr] Compiling b_standard_library v0.1.0 (/opt/rustwide/workdir/chapter-7/b_normal_library) [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: `docsrs`, `feature`, and `test` and 31 more [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] Compiling chapter-10a v0.1.0 (/opt/rustwide/workdir/chapter-10a-generics) [INFO] [stderr] Compiling chapter-10-traits-lib v0.1.0 (/opt/rustwide/workdir/chapter-10-traits-lib) [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling bstr v1.8.0 [INFO] [stderr] Compiling predicates v3.0.4 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stderr] Compiling rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings) [INFO] [stderr] Compiling rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings) [INFO] [stderr] Compiling rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings) [INFO] [stderr] Compiling rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings) [INFO] [stderr] Compiling rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings) [INFO] [stderr] Compiling rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings) [INFO] [stderr] Compiling rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-13/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-16/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-15/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-13/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-15/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-10a-generics/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-6/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-10a-generics/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-8/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-16/rustlings/src/exercise.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-7/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-6/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-8/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chapter-7/rustlings/src/exercise.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.67s [INFO] running `Command { std: "docker" "inspect" "db794e87e84f718fc97cfaa686acc10a001e33c1b7a72838799b412a1ddfb788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db794e87e84f718fc97cfaa686acc10a001e33c1b7a72838799b412a1ddfb788", kill_on_drop: false }` [INFO] [stdout] db794e87e84f718fc97cfaa686acc10a001e33c1b7a72838799b412a1ddfb788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ba1fd515deee33c76b08ea8987195dbe01c98b8c44fcf1da289ad92eff09105 [INFO] running `Command { std: "docker" "start" "-a" "5ba1fd515deee33c76b08ea8987195dbe01c98b8c44fcf1da289ad92eff09105", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-10a-generics v5.6.1 (/opt/rustwide/workdir/chapter-10a-generics/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-13 v5.6.1 (/opt/rustwide/workdir/chapter-13/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-15 v5.6.1 (/opt/rustwide/workdir/chapter-15/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-17 v5.6.1 (/opt/rustwide/workdir/chapter-16/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-6 v5.6.1 (/opt/rustwide/workdir/chapter-6/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/debug/rustlings.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `rustlings` in package `rustlings-chapter-8 v5.6.1 (/opt/rustwide/workdir/chapter-8/rustlings)` has the same output filename as the bin target `rustlings` in package `rustlings-chapter-7 v5.6.1 (/opt/rustwide/workdir/chapter-7/rustlings)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> chapter-12/src/bin/listing_16.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contents` [INFO] [stderr] --> chapter-12/src/bin/listing_16.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `setting_value` is never read [INFO] [stderr] --> chapter-18/src/main.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | setting_value = new_setting_value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: the `x:` in this pattern is redundant [INFO] [stderr] --> chapter-18/src/main.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | Point { x: x, y: y } => { [INFO] [stderr] | ^^^^ help: use shorthand field pattern: `x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the `y:` in this pattern is redundant [INFO] [stderr] --> chapter-18/src/main.rs:62:23 [INFO] [stderr] | [INFO] [stderr] 62 | Point { x: x, y: y } => { [INFO] [stderr] | ^^^^ help: use shorthand field pattern: `y` [INFO] [stderr] [INFO] [stderr] warning: `chapter-12` (bin "listing_16" test) generated 2 warnings (run `cargo fix --bin "listing_16" -p chapter-12 --tests` to apply 2 suggestions) [INFO] [stderr] warning: `chapter-18` (bin "chapter-18" test) generated 3 warnings (run `cargo fix --bin "chapter-18" -p chapter-18 --tests` to apply 2 suggestions) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> chapter-9/src/lib.rs:136:57 [INFO] [stderr] | [INFO] [stderr] 136 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 136 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stderr] 136 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> chapter-9/src/lib.rs:209:57 [INFO] [stderr] | [INFO] [stderr] 209 | self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 209 - self.source.as_ref().map(|e| e.as_ref() as &(dyn Error)) [INFO] [stderr] 209 + self.source.as_ref().map(|e| e.as_ref() as &dyn Error) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-15/rustlings/src/exercise.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-16/rustlings/src/exercise.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-6/rustlings/src/exercise.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-8/rustlings/src/exercise.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-13/rustlings/src/exercise.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-10a-generics/rustlings/src/exercise.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `chapter-9` (lib) generated 2 warnings (run `cargo fix --lib -p chapter-9` to apply 2 suggestions) [INFO] [stderr] warning: `rustlings-chapter-15` (bin "rustlings" test) generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-15 --tests` to apply 1 suggestion) [INFO] [stderr] warning: `rustlings-chapter-17` (bin "rustlings" test) generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-17 --tests` to apply 1 suggestion) [INFO] [stderr] warning: `rustlings-chapter-6` (bin "rustlings") generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-6` to apply 1 suggestion) [INFO] [stderr] warning: `rustlings-chapter-8` (bin "rustlings" test) generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-8 --tests` to apply 1 suggestion) [INFO] [stderr] warning: `chapter-9` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `rustlings-chapter-13` (bin "rustlings") generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-13` to apply 1 suggestion) [INFO] [stderr] warning: `rustlings-chapter-17` (bin "rustlings") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rustlings-chapter-10a-generics` (bin "rustlings") generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-10a-generics` to apply 1 suggestion) [INFO] [stderr] warning: `rustlings-chapter-15` (bin "rustlings") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rustlings-chapter-6` (bin "rustlings" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rustlings-chapter-13` (bin "rustlings" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chapter-7/rustlings/src/exercise.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stderr] --> chapter-10c-lifetimes/src/main.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(does_not_compile)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stderr] --> chapter-10c-lifetimes/src/main.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg(does_not_compile)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stderr] --> chapter-10c-lifetimes/src/main.rs:87:7 [INFO] [stderr] | [INFO] [stderr] 87 | #[cfg(does_not_compile)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stderr] --> chapter-10c-lifetimes/src/main.rs:134:7 [INFO] [stderr] | [INFO] [stderr] 134 | #[cfg(does_not_compile)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `does_not_compile` [INFO] [stderr] --> chapter-10c-lifetimes/src/main.rs:148:7 [INFO] [stderr] | [INFO] [stderr] 148 | #[cfg(does_not_compile)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(does_not_compile)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(does_not_compile)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `rustlings-chapter-10a-generics` (bin "rustlings" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rustlings-chapter-7` (bin "rustlings" test) generated 1 warning (run `cargo fix --bin "rustlings" -p rustlings-chapter-7 --tests` to apply 1 suggestion) [INFO] [stderr] warning: `rustlings-chapter-8` (bin "rustlings") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rustlings-chapter-7` (bin "rustlings") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `chapter-10c-lifetimes` (bin "chapter-10c-lifetimes" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/a_standard_binary-e36ab905c1de7477) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/b_standard_library-d62250dbf56beb03) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/c_multiple_crates-a7b4af5af1215a9b) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/goodbye_world.rs (/opt/rustwide/target/debug/deps/goodbye_world-302719f32e0c36f3) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/hello_world.rs (/opt/rustwide/target/debug/deps/hello_world-1cfe34b4572e8d1d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chapter_10_traits_lib-30b6c07e8bef216b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chapter_10a-1d6ed1b70eb94971) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chapter_10b_traits-421c3f03da3032ca) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chapter_10c_lifetimes-558c70659f9034ab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chapter_11-09d097f73468b690) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test compile_guarded::a_test ... ok [INFO] [stdout] test integ_discussion::unit_test ... ok [INFO] [stdout] test isolated::bad_test_1 ... ok [INFO] [stdout] test isolated::bad_test_2 ... ok [INFO] [stdout] test rant_about_loops::trim_test_1_leading_space ... ok [INFO] [stdout] test isolated::good_test ... ok [INFO] [stdout] test rant_about_loops::trim_test_3_leading_and_trailing ... ok [INFO] [stdout] test rant_about_loops::i_hate_this ... ok [INFO] [stdout] test output::example ... ok [INFO] [stdout] test rant_about_loops::trim_test_2_trailing_space ... ok [INFO] [stdout] test be_assertive::a_some_assertions ... FAILED [INFO] [stdout] test should_panic_tests::unreliable_test - should panic ... ok [INFO] [stdout] test everybody_panic::panic_is_ok - should panic ... ok [INFO] [stdout] test should_panic_tests::reliable_test - should panic ... FAILED [INFO] [stdout] test tests_returning_results::returns_a_result ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- be_assertive::a_some_assertions stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'be_assertive::a_some_assertions' (34) panicked at chapter-11/src/lib.rs:216:9: [INFO] [stdout] assertion `left == right` failed: 'double(3)' should return '6' [INFO] [stdout] left: 7 [INFO] [stdout] right: 6 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a9f1921fd32 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a9f1921fd32 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a9f1921fd32 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5a9f1921fd32 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5a9f19234caa - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5a9f19234caa - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x5a9f19225186 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a9f19225186 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5a9f191fcaff - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5a9f191fcaff - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5a9f192173f9 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5a9f191a8c8e - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5a9f191a8c8e - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a9f192175b2 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5a9f192175b2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5a9f191fcbb8 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5a9f191f1669 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5a9f191fdafd - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5a9f1923537c - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5a9f19235293 - core[585f66e14d78f9ba]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:434:23 [INFO] [stderr] error: test failed, to rerun pass `-p chapter-11 --lib` [INFO] [stdout] 20: 0x5a9f191f0c25 - core[585f66e14d78f9ba]::panicking::assert_failed:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5a9f19193028 - chapter_11[f67c4c5da09e85cf]::be_assertive::a_some_assertions [INFO] [stdout] at /opt/rustwide/workdir/chapter-11/src/lib.rs:216:9 [INFO] [stdout] 22: 0x5a9f19192247 - chapter_11[f67c4c5da09e85cf]::be_assertive::a_some_assertions::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/chapter-11/src/lib.rs:206:27 [INFO] [stdout] 23: 0x5a9f19195156 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a9f1919d03b - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a9f1919d03b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a9f191a989a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a9f191a989a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5a9f191a989a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5a9f191a989a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5a9f191a989a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a9f191a989a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a9f191a989a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a9f191a3d64 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a9f191a3d64 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5a9f191ac392 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5a9f191ac392 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a9f1921f09f - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x5a9f1921f09f - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x7232f1192aa4 - [INFO] [stdout] 45: 0x7232f121fa64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- should_panic_tests::reliable_test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'should_panic_tests::reliable_test' (46) panicked at chapter-11/src/lib.rs:225:22: [INFO] [stdout] attempt to subtract with overflow [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a9f1921fd32 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a9f1921fd32 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a9f1921fd32 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5a9f1921fd32 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5a9f19234caa - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5a9f19234caa - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x5a9f19225186 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a9f19225186 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5a9f191fcaff - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5a9f191fcaff - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5a9f192173f9 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5a9f191a8c8e - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5a9f191a8c8e - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a9f192175b2 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5a9f192175b2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5a9f191fcbea - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x5a9f191f1669 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5a9f191fdafd - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5a9f1923537c - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5a9f192363d9 - core[585f66e14d78f9ba]::panicking::panic_const::panic_const_sub_overflow [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:175:17 [INFO] [stdout] 20: 0x5a9f1919368a - chapter_11[f67c4c5da09e85cf]::should_panic_tests::gimme_a_value_greater_than_10 [INFO] [stdout] at /opt/rustwide/workdir/chapter-11/src/lib.rs:225:22 [INFO] [stdout] 21: 0x5a9f191936f8 - chapter_11[f67c4c5da09e85cf]::should_panic_tests::reliable_test [INFO] [stdout] at /opt/rustwide/workdir/chapter-11/src/lib.rs:246:17 [INFO] [stdout] 22: 0x5a9f191923c7 - chapter_11[f67c4c5da09e85cf]::should_panic_tests::reliable_test::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/chapter-11/src/lib.rs:245:23 [INFO] [stdout] 23: 0x5a9f19195356 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a9f1919d03b - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a9f1919d03b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a9f191a989a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a9f191a989a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5a9f191a989a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5a9f191a989a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5a9f191a989a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a9f191a989a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a9f191a989a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a9f191a3d64 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a9f191a3d64 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5a9f191ac392 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a9f191ac392 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5a9f191ac392 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a9f1921f09f - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x5a9f1921f09f - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x7232f1192aa4 - [INFO] [stdout] 45: 0x7232f121fa64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: "attempt to subtract with overflow" [INFO] [stdout] expected substring: "too high" [INFO] [stdout] ---- tests_returning_results::returns_a_result stdout ---- [INFO] [stdout] Error: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:2189:27 [INFO] [stdout] 2: chapter_11::tests_returning_results::returns_a_result [INFO] [stdout] at ./src/lib.rs:261:17 [INFO] [stdout] 3: chapter_11::tests_returning_results::returns_a_result::{closure#0} [INFO] [stdout] at ./src/lib.rs:260:30 [INFO] [stdout] 4: >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 5: core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 7: test::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 8: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 9: std::panicking::catch_unwind::do_call::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 10: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 11: std::panic::catch_unwind::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 12: test::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 13: test::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 14: test::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 15: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 16: std::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 17: ::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 18: std::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 19: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 20: std::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 21: std::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 22: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 24: ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 25: [INFO] [stdout] 26: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] be_assertive::a_some_assertions [INFO] [stdout] should_panic_tests::reliable_test [INFO] [stdout] tests_returning_results::returns_a_result [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ba1fd515deee33c76b08ea8987195dbe01c98b8c44fcf1da289ad92eff09105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba1fd515deee33c76b08ea8987195dbe01c98b8c44fcf1da289ad92eff09105", kill_on_drop: false }` [INFO] [stdout] 5ba1fd515deee33c76b08ea8987195dbe01c98b8c44fcf1da289ad92eff09105