[INFO] cloning repository https://github.com/felipe-godoi/rust-leetcode
[INFO] running `"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"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e669b7ea464da449a0214de93695c2c04b4e936a
[INFO] testing felipe-godoi/rust-leetcode against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipe-godoi%2Frust-leetcode" "/workspace/builds/worker-3-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[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] validating manifest of git repo https://github.com/felipe-godoi/rust-leetcode on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/felipe-godoi/rust-leetcode already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0
[INFO] running `"docker" "start" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0"`
[INFO] running `"docker" "inspect" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling strsim v0.11.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling anstream v0.6.13
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]    Compiling clap v4.5.2
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option<Box<ListNode>>`
[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<Box<ListNode>>`
[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<ListNode>`, found `Box<Option<Box<ListNode>>>`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<ListNode>`
[INFO] [stdout]               found struct `Box<std::option::Option<Box<ListNode>>>`
[INFO] [stdout] help: the type constructed contains `Box<std::option::Option<Box<ListNode>>>` 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/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/option.rs:606:4
[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<Box<ListNode>>`, found `&mut Box<ListNode>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut std::option::Option<Box<_>>`
[INFO] [stdout]               found mutable reference `&mut Box<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `&mut std::option::Option<Box<ListNode>>`
[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<Box<ListNode>>`
[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<ListNode>`, found `Option<Box<ListNode>>`
[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<Box<_>>`
[INFO] [stdout] help: the type constructed contains `std::option::Option<Box<ListNode>>` 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/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/option.rs:606:4
[INFO] [stdout] help: use the `?` operator to extract the `std::option::Option<Box<ListNode>>` 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] [stderr] error: could not compile `leetcode` (bin "leetcode") due to 7 previous errors
[INFO] [stderr] warning: unused dependency `home`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | home = "0.5.3"
[INFO] [stderr]   | ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `home`
[INFO] [stderr] warning: `leetcode` (manifest) generated 1 warning
[INFO] running `"docker" "inspect" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0"`
[INFO] running `"docker" "rm" "-f" "19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0"`
[INFO] [stdout] 19dbf2d66bce70d3093b9e1dfd4c18e1428ce9ee1b123aef804bb4832f77aba0
