[INFO] cloning repository https://github.com/saikatdas0790/comprehensive-rust-worked-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saikatdas0790/comprehensive-rust-worked-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikatdas0790%2Fcomprehensive-rust-worked-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikatdas0790%2Fcomprehensive-rust-worked-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 788c84acfe36037b938056888b5cdd8e0edcdc6c [INFO] checking saikatdas0790/comprehensive-rust-worked-examples against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikatdas0790%2Fcomprehensive-rust-worked-examples" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/saikatdas0790/comprehensive-rust-worked-examples [INFO] finished tweaking git repo https://github.com/saikatdas0790/comprehensive-rust-worked-examples [INFO] tweaked toml for git repo https://github.com/saikatdas0790/comprehensive-rust-worked-examples written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saikatdas0790/comprehensive-rust-worked-examples on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/saikatdas0790/comprehensive-rust-worked-examples 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9af9d3e3f22b50a13c96c7537571ee3820d4565bbed4ca083e8507b887191325 [INFO] running `Command { std: "docker" "start" "-a" "9af9d3e3f22b50a13c96c7537571ee3820d4565bbed4ca083e8507b887191325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9af9d3e3f22b50a13c96c7537571ee3820d4565bbed4ca083e8507b887191325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9af9d3e3f22b50a13c96c7537571ee3820d4565bbed4ca083e8507b887191325", kill_on_drop: false }` [INFO] [stdout] 9af9d3e3f22b50a13c96c7537571ee3820d4565bbed4ca083e8507b887191325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f3086661aebfac1e8e32b0abe0226f22e4df0280aac5d26861be3842ea1dfbd [INFO] running `Command { std: "docker" "start" "-a" "7f3086661aebfac1e8e32b0abe0226f22e4df0280aac5d26861be3842ea1dfbd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v2.0.6 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking _5_7_exercise_fibonacci v0.1.0 (/opt/rustwide/workdir/_5_7_exercise_fibonacci) [INFO] [stderr] Checking _13_4_exercise_generic_logger v0.1.0 (/opt/rustwide/workdir/_13_4_exercise_generic_logger) [INFO] [stderr] Checking _22_4_exercise_health_statistics v0.1.0 (/opt/rustwide/workdir/_22_4_exercise_health_statistics) [INFO] [stderr] Checking _8_4_exercise_nested_arrays v0.1.0 (/opt/rustwide/workdir/_8_4_exercise_nested_arrays) [INFO] [stderr] Checking _29_3_try_operator v0.1.0 (/opt/rustwide/workdir/_29_3_try_operator) [INFO] [stderr] Checking _27_4_exercise_luhn_algorithm v0.1.0 (/opt/rustwide/workdir/_27_4_exercise_luhn_algorithm) [INFO] [stderr] Checking _25_1_iterator v0.1.0 (/opt/rustwide/workdir/_25_1_iterator) [INFO] [stderr] Checking _19_8_exercise_builder_type v0.1.0 (/opt/rustwide/workdir/_19_8_exercise_builder_type) [INFO] [stderr] Checking _17_8_exercise_rot13 v0.1.0 (/opt/rustwide/workdir/_17_8_exercise_rot13) [INFO] [stderr] Checking _14_5_exercise_generic_min v0.1.0 (/opt/rustwide/workdir/_14_5_exercise_generic_min) [INFO] [stderr] Checking _26_5_exercise_modules_for_a_gui_library v0.1.0 (/opt/rustwide/workdir/_26_5_exercise_modules_for_a_gui_library) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> _22_4_exercise_health_statistics/src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn visit_doctor(&mut self, measurements: Measurements) -> HealthReport { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden 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] 33 | pub fn visit_doctor(&mut self, measurements: Measurements) -> HealthReport<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _25_3_from_iterator v0.1.0 (/opt/rustwide/workdir/_25_3_from_iterator) [INFO] [stderr] Checking _6_7_exercise_collatz_sequence v0.1.0 (/opt/rustwide/workdir/_6_7_exercise_collatz_sequence) [INFO] [stderr] Checking _20_4_exercise_binary_tree v0.1.0 (/opt/rustwide/workdir/_20_4_exercise_binary_tree) [INFO] [stderr] Checking _10_6_exercise_elevator_events v0.1.0 (/opt/rustwide/workdir/_10_6_exercise_elevator_events) [INFO] [stderr] Checking _9_3_exercise_geometry v0.1.0 (/opt/rustwide/workdir/_9_3_exercise_geometry) [INFO] [stderr] Checking _25_4_exercise_iterator_method_chaining v0.1.0 (/opt/rustwide/workdir/_25_4_exercise_iterator_method_chaining) [INFO] [stderr] Checking _27_3_compiler_lints_and_clippy v0.1.0 (/opt/rustwide/workdir/_27_3_compiler_lints_and_clippy) [INFO] [stderr] Checking state_machine_example v0.1.0 (/opt/rustwide/workdir/state_machine_example) [INFO] [stderr] Checking _16_8_exercise_counter v0.1.0 (/opt/rustwide/workdir/_16_8_exercise_counter) [INFO] [stderr] Checking _25_2_into_iterator v0.1.0 (/opt/rustwide/workdir/_25_2_into_iterator) [INFO] [stderr] Checking _12_4_exercise_expression_evaluation v0.1.0 (/opt/rustwide/workdir/_12_4_exercise_expression_evaluation) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> _22_4_exercise_health_statistics/src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn visit_doctor(&mut self, measurements: Measurements) -> HealthReport { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------ the same lifetime is hidden 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] 33 | pub fn visit_doctor(&mut self, measurements: Measurements) -> HealthReport<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling thiserror-impl v2.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking _23_6_exercise_protobuf_parsing v0.1.0 (/opt/rustwide/workdir/_23_6_exercise_protobuf_parsing) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> _23_6_exercise_protobuf_parsing/src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | fn parse_field(data: &[u8]) -> Result<(Field, &[u8]), Error> { [INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 120 | fn parse_field(data: &[u8]) -> Result<(Field<'_>, &[u8]), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _29_8_exercise_rewriting_with_result v0.1.0 (/opt/rustwide/workdir/_29_8_exercise_rewriting_with_result) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> _23_6_exercise_protobuf_parsing/src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | fn parse_field(data: &[u8]) -> Result<(Field, &[u8]), Error> { [INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 120 | fn parse_field(data: &[u8]) -> Result<(Field<'_>, &[u8]), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> _29_8_exercise_rewriting_with_result/src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn tokenize(input: &str) -> Tokenizer { [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] 31 | fn tokenize(input: &str) -> Tokenizer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> _29_8_exercise_rewriting_with_result/src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn tokenize(input: &str) -> Tokenizer { [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] 31 | fn tokenize(input: &str) -> Tokenizer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.95s [INFO] running `Command { std: "docker" "inspect" "7f3086661aebfac1e8e32b0abe0226f22e4df0280aac5d26861be3842ea1dfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3086661aebfac1e8e32b0abe0226f22e4df0280aac5d26861be3842ea1dfbd", kill_on_drop: false }` [INFO] [stdout] 7f3086661aebfac1e8e32b0abe0226f22e4df0280aac5d26861be3842ea1dfbd