[INFO] cloning repository https://github.com/fallingyang/leetcode_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fallingyang/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffallingyang%2Fleetcode_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffallingyang%2Fleetcode_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a2e15ddf9cca3354b8fd81cf43f7eb45b837575 [INFO] checking fallingyang/leetcode_rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffallingyang%2Fleetcode_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fallingyang/leetcode_rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fallingyang/leetcode_rust [INFO] finished tweaking git repo https://github.com/fallingyang/leetcode_rust [INFO] tweaked toml for git repo https://github.com/fallingyang/leetcode_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fallingyang/leetcode_rust 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 547f3abd25f5aadc43ffbf387ecf7a667cf75bb59da4b4e71b755e8684c75155 [INFO] running `Command { std: "docker" "start" "-a" "547f3abd25f5aadc43ffbf387ecf7a667cf75bb59da4b4e71b755e8684c75155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "547f3abd25f5aadc43ffbf387ecf7a667cf75bb59da4b4e71b755e8684c75155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "547f3abd25f5aadc43ffbf387ecf7a667cf75bb59da4b4e71b755e8684c75155", kill_on_drop: false }` [INFO] [stdout] 547f3abd25f5aadc43ffbf387ecf7a667cf75bb59da4b4e71b755e8684c75155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c46148e00020d53832387afb6bdb3657c9c0bcf5d69c4b3041e035bdf9e149c4 [INFO] running `Command { std: "docker" "start" "-a" "c46148e00020d53832387afb6bdb3657c9c0bcf5d69c4b3041e035bdf9e149c4", kill_on_drop: false }` [INFO] [stderr] Checking leetcode_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/list/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn node(self, index: u32) -> Self { [INFO] [stdout] | ---- ^^^^ expected `Node`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Node` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `self` [INFO] [stdout] | [INFO] [stdout] 47 ~ fn node(self, index: u32) -> Self { [INFO] [stdout] 48 + self [INFO] [stdout] 49 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/list/main.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | fn node(self, index: u32) -> Self { [INFO] [stdout] | ---- ^^^^ expected `Node`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Node` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `self` [INFO] [stdout] | [INFO] [stdout] 47 ~ fn node(self, index: u32) -> Self { [INFO] [stdout] 48 + self [INFO] [stdout] 49 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `*self` because it is borrowed [INFO] [stdout] --> src/list/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert(&mut self, index: u32, elem: T) -> bool { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] 30 | self.link_before(elem, self.node(index)); [INFO] [stdout] | ---- ----------- ^^^^ move out of `*self` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `*self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `*self` because it is borrowed [INFO] [stdout] --> src/list/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert(&mut self, index: u32, elem: T) -> bool { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] 30 | self.link_before(elem, self.node(index)); [INFO] [stdout] | ---- ----------- ^^^^ move out of `*self` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `*self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> src/list/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | self.link_before(elem, self.node(index)); [INFO] [stdout] | ^^^^ ----------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Node`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Node::::node` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/list/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | fn node(self, index: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a mutable reference [INFO] [stdout] --> src/list/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | self.link_before(elem, self.node(index)); [INFO] [stdout] | ^^^^ ----------- `*self` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*self` has type `Node`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `Node::::node` takes ownership of the receiver `self`, which moves `*self` [INFO] [stdout] --> src/list/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | fn node(self, index: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode_rust` (bin "list") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `leetcode_rust` (bin "list" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c46148e00020d53832387afb6bdb3657c9c0bcf5d69c4b3041e035bdf9e149c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46148e00020d53832387afb6bdb3657c9c0bcf5d69c4b3041e035bdf9e149c4", kill_on_drop: false }` [INFO] [stdout] c46148e00020d53832387afb6bdb3657c9c0bcf5d69c4b3041e035bdf9e149c4 [INFO] checking fallingyang/leetcode_rust against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffallingyang%2Fleetcode_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fallingyang/leetcode_rust on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fallingyang/leetcode_rust [INFO] finished tweaking git repo https://github.com/fallingyang/leetcode_rust [INFO] tweaked toml for git repo https://github.com/fallingyang/leetcode_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fallingyang/leetcode_rust 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe37fc354b8e2e1d2105934d31d76c56c478d26fd8036111af29dc87edb38fb5 [INFO] running `Command { std: "docker" "start" "-a" "fe37fc354b8e2e1d2105934d31d76c56c478d26fd8036111af29dc87edb38fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe37fc354b8e2e1d2105934d31d76c56c478d26fd8036111af29dc87edb38fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe37fc354b8e2e1d2105934d31d76c56c478d26fd8036111af29dc87edb38fb5", kill_on_drop: false }` [INFO] [stdout] fe37fc354b8e2e1d2105934d31d76c56c478d26fd8036111af29dc87edb38fb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89705bd5568a28e2e246af53e813c0266628e4431b2b318a9b13b4a7c2becddc [INFO] running `Command { std: "docker" "start" "-a" "89705bd5568a28e2e246af53e813c0266628e4431b2b318a9b13b4a7c2becddc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "89705bd5568a28e2e246af53e813c0266628e4431b2b318a9b13b4a7c2becddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89705bd5568a28e2e246af53e813c0266628e4431b2b318a9b13b4a7c2becddc", kill_on_drop: false }` [INFO] [stdout] 89705bd5568a28e2e246af53e813c0266628e4431b2b318a9b13b4a7c2becddc