[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#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikatdas0790%2Fcomprehensive-rust-worked-examples" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saikatdas0790/comprehensive-rust-worked-examples on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcb4e606e0df0811147ce89541ef63ef0319fd529dddcc9a52d0b9473103f5e8 [INFO] running `Command { std: "docker" "start" "-a" "dcb4e606e0df0811147ce89541ef63ef0319fd529dddcc9a52d0b9473103f5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcb4e606e0df0811147ce89541ef63ef0319fd529dddcc9a52d0b9473103f5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb4e606e0df0811147ce89541ef63ef0319fd529dddcc9a52d0b9473103f5e8", kill_on_drop: false }` [INFO] [stdout] dcb4e606e0df0811147ce89541ef63ef0319fd529dddcc9a52d0b9473103f5e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b20569f0c07e1031ccebbab50769df7008033f38c7f452a574154ac378c6a0a0 [INFO] running `Command { std: "docker" "start" "-a" "b20569f0c07e1031ccebbab50769df7008033f38c7f452a574154ac378c6a0a0", 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 anyhow v1.0.94 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking _17_8_exercise_rot13 v0.1.0 (/opt/rustwide/workdir/_17_8_exercise_rot13) [INFO] [stderr] Checking _25_3_from_iterator v0.1.0 (/opt/rustwide/workdir/_25_3_from_iterator) [INFO] [stderr] Checking _27_3_compiler_lints_and_clippy v0.1.0 (/opt/rustwide/workdir/_27_3_compiler_lints_and_clippy) [INFO] [stderr] Checking _14_5_exercise_generic_min v0.1.0 (/opt/rustwide/workdir/_14_5_exercise_generic_min) [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 _29_3_try_operator v0.1.0 (/opt/rustwide/workdir/_29_3_try_operator) [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 _8_4_exercise_nested_arrays v0.1.0 (/opt/rustwide/workdir/_8_4_exercise_nested_arrays) [INFO] [stderr] Checking _12_4_exercise_expression_evaluation v0.1.0 (/opt/rustwide/workdir/_12_4_exercise_expression_evaluation) [INFO] [stderr] Checking _10_6_exercise_elevator_events v0.1.0 (/opt/rustwide/workdir/_10_6_exercise_elevator_events) [INFO] [stderr] Checking _16_8_exercise_counter v0.1.0 (/opt/rustwide/workdir/_16_8_exercise_counter) [INFO] [stderr] Checking state_machine_example v0.1.0 (/opt/rustwide/workdir/state_machine_example) [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 _6_7_exercise_collatz_sequence v0.1.0 (/opt/rustwide/workdir/_6_7_exercise_collatz_sequence) [INFO] [stderr] Checking _5_7_exercise_fibonacci v0.1.0 (/opt/rustwide/workdir/_5_7_exercise_fibonacci) [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] [stderr] Checking _19_8_exercise_builder_type v0.1.0 (/opt/rustwide/workdir/_19_8_exercise_builder_type) [INFO] [stderr] Checking _25_1_iterator v0.1.0 (/opt/rustwide/workdir/_25_1_iterator) [INFO] [stderr] Checking _9_3_exercise_geometry v0.1.0 (/opt/rustwide/workdir/_9_3_exercise_geometry) [INFO] [stderr] Checking _27_4_exercise_luhn_algorithm v0.1.0 (/opt/rustwide/workdir/_27_4_exercise_luhn_algorithm) [INFO] [stderr] Checking _25_2_into_iterator v0.1.0 (/opt/rustwide/workdir/_25_2_into_iterator) [INFO] [stderr] Checking _25_4_exercise_iterator_method_chaining v0.1.0 (/opt/rustwide/workdir/_25_4_exercise_iterator_method_chaining) [INFO] [stderr] Checking _20_4_exercise_binary_tree v0.1.0 (/opt/rustwide/workdir/_20_4_exercise_binary_tree) [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling thiserror-impl v2.0.6 [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] --> _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] 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] --> _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] --> _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] --> _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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.02s [INFO] running `Command { std: "docker" "inspect" "b20569f0c07e1031ccebbab50769df7008033f38c7f452a574154ac378c6a0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20569f0c07e1031ccebbab50769df7008033f38c7f452a574154ac378c6a0a0", kill_on_drop: false }` [INFO] [stdout] b20569f0c07e1031ccebbab50769df7008033f38c7f452a574154ac378c6a0a0