[INFO] cloning repository https://github.com/zholiferova/Rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zholiferova/Rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzholiferova%2FRust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzholiferova%2FRust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba9aeda6903740175b963aab1ce1858fbd4741c4 [INFO] testing zholiferova/Rust-learning against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzholiferova%2FRust-learning" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zholiferova/Rust-learning [INFO] finished tweaking git repo https://github.com/zholiferova/Rust-learning [INFO] tweaked toml for git repo https://github.com/zholiferova/Rust-learning written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zholiferova/Rust-learning on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zholiferova/Rust-learning 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v1.0.103 [INFO] [stderr] Adding quote v1.0.42 [INFO] [stderr] Adding smart-default v0.7.1 [INFO] [stderr] Adding syn v2.0.110 [INFO] [stderr] Adding unicode-ident v1.0.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a3da17318bc216f95ecb4f05a25ac7e9b79045fecb5895afa7e9cae87405c8 [INFO] running `Command { std: "docker" "start" "-a" "44a3da17318bc216f95ecb4f05a25ac7e9b79045fecb5895afa7e9cae87405c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a3da17318bc216f95ecb4f05a25ac7e9b79045fecb5895afa7e9cae87405c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a3da17318bc216f95ecb4f05a25ac7e9b79045fecb5895afa7e9cae87405c8", kill_on_drop: false }` [INFO] [stdout] 44a3da17318bc216f95ecb4f05a25ac7e9b79045fecb5895afa7e9cae87405c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af6b4c52048ca5ca27b6aa40a3f6017e3443a11d4efe001edac2f7a0daf8cc0 [INFO] running `Command { std: "docker" "start" "-a" "3af6b4c52048ca5ca27b6aa40a3f6017e3443a11d4efe001edac2f7a0daf8cc0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling step_2_5 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_5_exhaustivity) [INFO] [stderr] Compiling step_4 v0.1.0 (/opt/rustwide/workdir/4_backend) [INFO] [stderr] Compiling step_1_7 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_7_sized) [INFO] [stderr] Compiling step_1_4 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_4_cow) [INFO] [stderr] Compiling step_2_2 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_2_mem_replace) [INFO] [stderr] Compiling step_3_11 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_11_async) [INFO] [stderr] Compiling step_2_6 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_6_sealing) [INFO] [stderr] Compiling step_3_3 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_3_date_time) [INFO] [stderr] Compiling step_1_6 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_6_dispatch) [INFO] [stderr] Compiling step_3_10 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_10_threads) [INFO] [stderr] Compiling step_4_3 v0.1.0 (/opt/rustwide/workdir/4_backend/4_3_api) [INFO] [stderr] Compiling step_1 v0.1.0 (/opt/rustwide/workdir/1_concepts) [INFO] [stderr] Compiling step_3_9 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_9_cmd_env_conf) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> 2_idioms/2_6_sealing/src/my_iterator_ext.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn format(self, sep: &str) -> Format [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] 28 | fn format(self, sep: &str) -> Format<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> 2_idioms/2_6_sealing/src/my_iterator_ext.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | fn format_with(self, sep: &str, format: F) -> FormatWith [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn format_with(self, sep: &str, format: F) -> FormatWith<'_, Self, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_3_1 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_1_testing) [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> 3_ecosystem/3_3_date_time/src/main.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn with_birthdate(year: i32, month: u32, day: u32) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `month` [INFO] [stdout] --> 3_ecosystem/3_3_date_time/src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn with_birthdate(year: i32, month: u32, day: u32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> 3_ecosystem/3_3_date_time/src/main.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | fn with_birthdate(year: i32, month: u32, day: u32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOW` is never used [INFO] [stdout] --> 3_ecosystem/3_3_date_time/src/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const NOW: &str = "2019-06-26"; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> 3_ecosystem/3_3_date_time/src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct User; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_birthdate`, `age`, and `is_adult` are never used [INFO] [stdout] --> 3_ecosystem/3_3_date_time/src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | fn with_birthdate(year: i32, month: u32, day: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn age(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn is_adult(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_2 v0.1.0 (/opt/rustwide/workdir/2_idioms) [INFO] [stderr] Compiling step_1_8 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_8_thread_safety) [INFO] [stderr] Compiling step_3 v0.1.0 (/opt/rustwide/workdir/3_ecosystem) [INFO] [stderr] Compiling step_2_4 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_4_generic_in_type_out) [INFO] [stderr] Compiling step_3_5 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_5_collections) [INFO] [stderr] Compiling step_3_2 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_2_macro) [INFO] [stderr] Compiling step_3_7 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_7_rand_crypto) [INFO] [stderr] Compiling step_3_8 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_8_log) [INFO] [stderr] Compiling step_1_9 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_9_phantom) [INFO] [stderr] Compiling step_1_5 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_5_convert_cast_deref) [INFO] [stderr] Compiling step_4_2 v0.1.0 (/opt/rustwide/workdir/4_backend/4_2_http) [INFO] [stderr] Compiling step_1_3 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_3_rc_cell) [INFO] [stderr] Compiling step_2_3 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_3_bound_impl) [INFO] [stderr] Compiling step_2_1 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_1_type_safety) [INFO] [stderr] Compiling step_3_4 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_4_regex_parsing) [INFO] [stderr] Compiling step_3_6 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_6_serde) [INFO] [stderr] Compiling step_1_2 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_2_box_pin) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 3_ecosystem/3_4_regex_parsing/src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse(input: &str) -> (Option, Option, Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> 3_ecosystem/3_4_regex_parsing/src/main.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse(input: &str) -> (Option, Option, Option) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sign` is never used [INFO] [stdout] --> 3_ecosystem/3_4_regex_parsing/src/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Sign { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precision` is never used [INFO] [stdout] --> 3_ecosystem/3_4_regex_parsing/src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum Precision { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_4_1 v0.1.0 (/opt/rustwide/workdir/4_backend/4_1_db) [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> 1_concepts/1_2_box_pin/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Unmovable { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 5 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unmovable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling step_1_1 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_1_default_clone_copy) [INFO] [stdout] error[E0601]: `main` function not found in crate `step_1_1` [INFO] [stdout] --> 1_concepts/1_1_default_clone_copy/src/main.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | } [INFO] [stdout] | ^ consider adding a `main` function to `1_concepts/1_1_default_clone_copy/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `step_1_1` (bin "step_1_1") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3af6b4c52048ca5ca27b6aa40a3f6017e3443a11d4efe001edac2f7a0daf8cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af6b4c52048ca5ca27b6aa40a3f6017e3443a11d4efe001edac2f7a0daf8cc0", kill_on_drop: false }` [INFO] [stdout] 3af6b4c52048ca5ca27b6aa40a3f6017e3443a11d4efe001edac2f7a0daf8cc0