[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 try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipe-godoi/rust-leetcode on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "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-3-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" "+173780a87744406b7489b28349c0176f14bb3881" "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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b65e732dbd3f12d9e193c906475c4ba817723fe8df5ec32888909c1c60f733f [INFO] running `Command { std: "docker" "start" "-a" "5b65e732dbd3f12d9e193c906475c4ba817723fe8df5ec32888909c1c60f733f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b65e732dbd3f12d9e193c906475c4ba817723fe8df5ec32888909c1c60f733f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b65e732dbd3f12d9e193c906475c4ba817723fe8df5ec32888909c1c60f733f", kill_on_drop: false }` [INFO] [stdout] 5b65e732dbd3f12d9e193c906475c4ba817723fe8df5ec32888909c1c60f733f [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55c79d5cd11e61d2b782e3a11ecc88689e5a5f281981ea3537c11489a99c62ce [INFO] running `Command { std: "docker" "start" "-a" "55c79d5cd11e61d2b782e3a11ecc88689e5a5f281981ea3537c11489a99c62ce", 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-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.2.5 [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/173780a87744406b7489b28349c0176f14bb3881/library/core/src/option.rs:580: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/173780a87744406b7489b28349c0176f14bb3881/library/core/src/option.rs:580: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[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: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[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/173780a87744406b7489b28349c0176f14bb3881/library/core/src/option.rs:580: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: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/173780a87744406b7489b28349c0176f14bb3881/library/core/src/option.rs:580: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] 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] 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 7 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 7 previous errors [INFO] running `Command { std: "docker" "inspect" "55c79d5cd11e61d2b782e3a11ecc88689e5a5f281981ea3537c11489a99c62ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c79d5cd11e61d2b782e3a11ecc88689e5a5f281981ea3537c11489a99c62ce", kill_on_drop: false }` [INFO] [stdout] 55c79d5cd11e61d2b782e3a11ecc88689e5a5f281981ea3537c11489a99c62ce