[INFO] cloning repository https://github.com/felipe-godoi/rust-leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felipe-godoi/rust-leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e669b7ea464da449a0214de93695c2c04b4e936a [INFO] checking felipe-godoi/rust-leetcode against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipe-godoi/rust-leetcode on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felipe-godoi/rust-leetcode [INFO] finished tweaking git repo https://github.com/felipe-godoi/rust-leetcode [INFO] tweaked toml for git repo https://github.com/felipe-godoi/rust-leetcode written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/felipe-godoi/rust-leetcode 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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking felipe-godoi/rust-leetcode against try#397f8958d101b259f6baaf92d107d770c95c3ce0 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipe-godoi/rust-leetcode on toolchain 397f8958d101b259f6baaf92d107d770c95c3ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felipe-godoi/rust-leetcode [INFO] finished tweaking git repo https://github.com/felipe-godoi/rust-leetcode [INFO] tweaked toml for git repo https://github.com/felipe-godoi/rust-leetcode written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/felipe-godoi/rust-leetcode 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" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae1ce6eb9524b7532333fecf71095002d83d1bdb7f8db0c60cc3a9eeade9b19e [INFO] running `Command { std: "docker" "start" "-a" "ae1ce6eb9524b7532333fecf71095002d83d1bdb7f8db0c60cc3a9eeade9b19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae1ce6eb9524b7532333fecf71095002d83d1bdb7f8db0c60cc3a9eeade9b19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1ce6eb9524b7532333fecf71095002d83d1bdb7f8db0c60cc3a9eeade9b19e", kill_on_drop: false }` [INFO] [stdout] ae1ce6eb9524b7532333fecf71095002d83d1bdb7f8db0c60cc3a9eeade9b19e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 316c915f34e338bc107b92deb11b97a7fcbae9c2bf0be47bfd40c9a315879c53 [INFO] running `Command { std: "docker" "start" "-a" "316c915f34e338bc107b92deb11b97a7fcbae9c2bf0be47bfd40c9a315879c53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | while head1.next.is_some() { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `val` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | if head1.val > head2.val { [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | while head1.next.is_some() { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `val` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | if head1.val > head2.val { [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/exercises/ex21.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | head2.next = Some(Box::from(head1.to_owned())); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box`, found `Box>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box>>` [INFO] [stdout] help: the type constructed contains `Box>>` due to the type of the argument passed [INFO] [stdout] --> src/exercises/ex21.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | head2.next = Some(Box::from(head1.to_owned())); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/397f8958d101b259f6baaf92d107d770c95c3ce0/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/exercises/ex21.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | head2.next = Some(Box::from(head1.to_owned())); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box`, found `Box>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box>>` [INFO] [stdout] help: the type constructed contains `Box>>` due to the type of the argument passed [INFO] [stdout] --> src/exercises/ex21.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | head2.next = Some(Box::from(head1.to_owned())); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/397f8958d101b259f6baaf92d107d770c95c3ce0/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/exercises/ex21.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut head1 = &mut list1; [INFO] [stdout] | ---------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 38 | head1 = aux.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `&mut Option>`, found `&mut Box` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::option::Option>` [INFO] [stdout] found mutable reference `&mut Box<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | aux = head1.next; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | head1.next = Some(head2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/exercises/ex21.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | Some(list1) [INFO] [stdout] | ---- ^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] help: the type constructed contains `std::option::Option>` due to the type of the argument passed [INFO] [stdout] --> src/exercises/ex21.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Some(list1) [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/397f8958d101b259f6baaf92d107d770c95c3ce0/library/core/src/option.rs:582:5 [INFO] [stdout] help: use the `?` operator to extract the `std::option::Option>` value, propagating an `Option::None` value to the caller [INFO] [stdout] | [INFO] [stdout] 50 | Some(list1?) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/exercises/ex21.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut head1 = &mut list1; [INFO] [stdout] | ---------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 38 | head1 = aux.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `&mut Option>`, found `&mut Box` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::option::Option>` [INFO] [stdout] found mutable reference `&mut Box<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | aux = head1.next; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option>` [INFO] [stdout] --> src/exercises/ex21.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | head1.next = Some(head2); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/exercises/ex21.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | Some(list1) [INFO] [stdout] | ---- ^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] help: the type constructed contains `std::option::Option>` due to the type of the argument passed [INFO] [stdout] --> src/exercises/ex21.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Some(list1) [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/397f8958d101b259f6baaf92d107d770c95c3ce0/library/core/src/option.rs:582:5 [INFO] [stdout] help: use the `?` operator to extract the `std::option::Option>` value, propagating an `Option::None` value to the caller [INFO] [stdout] | [INFO] [stdout] 50 | Some(list1?) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "leetcode") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `leetcode` (bin "leetcode" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "316c915f34e338bc107b92deb11b97a7fcbae9c2bf0be47bfd40c9a315879c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "316c915f34e338bc107b92deb11b97a7fcbae9c2bf0be47bfd40c9a315879c53", kill_on_drop: false }` [INFO] [stdout] 316c915f34e338bc107b92deb11b97a7fcbae9c2bf0be47bfd40c9a315879c53