[INFO] cloning repository https://github.com/GiantTechnologies/rust-port-scaner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GiantTechnologies/rust-port-scaner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiantTechnologies%2Frust-port-scaner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiantTechnologies%2Frust-port-scaner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a62e2b5802a72e96720c5e04ec5197801d7361d0 [INFO] checking GiantTechnologies/rust-port-scaner against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiantTechnologies%2Frust-port-scaner" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GiantTechnologies/rust-port-scaner on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GiantTechnologies/rust-port-scaner [INFO] finished tweaking git repo https://github.com/GiantTechnologies/rust-port-scaner [INFO] tweaked toml for git repo https://github.com/GiantTechnologies/rust-port-scaner written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/GiantTechnologies/rust-port-scaner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f15d4713df3d9d89ed70a4150cb07a94a8e403d8852d1777aa6383c5a610be7c [INFO] running `Command { std: "docker" "start" "-a" "f15d4713df3d9d89ed70a4150cb07a94a8e403d8852d1777aa6383c5a610be7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f15d4713df3d9d89ed70a4150cb07a94a8e403d8852d1777aa6383c5a610be7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15d4713df3d9d89ed70a4150cb07a94a8e403d8852d1777aa6383c5a610be7c", kill_on_drop: false }` [INFO] [stdout] f15d4713df3d9d89ed70a4150cb07a94a8e403d8852d1777aa6383c5a610be7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d29e6b594aac08d7392f0f0859abae1f3dec97ec57c96751e743abf7a137b625 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d29e6b594aac08d7392f0f0859abae1f3dec97ec57c96751e743abf7a137b625", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rust-Port-scaner v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `port::ScanEntry` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | port::ScanEntry(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `port::ScanEntry { result: val }` [INFO] [stdout] | [INFO] [stdout] ::: src/port.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / pub struct ScanEntry { [INFO] [stdout] 3 | | result: bool [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- `port::ScanEntry` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `[ScanEntry]` [INFO] [stdout] --> src/port.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.entries += e [INFO] [stdout] | ------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `[ScanEntry]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[ScanEntry]` cannot be known at compilation time [INFO] [stdout] --> src/port.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run(self) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `ScanBatch`, the trait `Sized` is not implemented for `[ScanEntry]` [INFO] [stdout] note: required because it appears within the type `ScanBatch` [INFO] [stdout] --> src/port.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ScanBatch { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run(&self) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[ScanEntry]` cannot be known at compilation time [INFO] [stdout] --> src/port.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | for i in self.entries { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[ScanEntry]` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `[ScanEntry]` [INFO] [stdout] note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[ScanEntry]` is not an iterator [INFO] [stdout] --> src/port.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | for i in self.entries { [INFO] [stdout] | ^^^^^^^^^^^^ `[ScanEntry]` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `[ScanEntry]` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `[ScanEntry]` [INFO] [stdout] note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0368, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-Port-scaner` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `port::ScanEntry` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | port::ScanEntry(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `port::ScanEntry { result: val }` [INFO] [stdout] | [INFO] [stdout] ::: src/port.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / pub struct ScanEntry { [INFO] [stdout] 3 | | result: bool [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- `port::ScanEntry` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `[ScanEntry]` [INFO] [stdout] --> src/port.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.entries += e [INFO] [stdout] | ------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `[ScanEntry]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[ScanEntry]` cannot be known at compilation time [INFO] [stdout] --> src/port.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run(self) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `ScanBatch`, the trait `Sized` is not implemented for `[ScanEntry]` [INFO] [stdout] note: required because it appears within the type `ScanBatch` [INFO] [stdout] --> src/port.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ScanBatch { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run(&self) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[ScanEntry]` cannot be known at compilation time [INFO] [stdout] --> src/port.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | for i in self.entries { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[ScanEntry]` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `[ScanEntry]` [INFO] [stdout] note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[ScanEntry]` is not an iterator [INFO] [stdout] --> src/port.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | for i in self.entries { [INFO] [stdout] | ^^^^^^^^^^^^ `[ScanEntry]` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `[ScanEntry]` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `[ScanEntry]` [INFO] [stdout] note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0368, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d29e6b594aac08d7392f0f0859abae1f3dec97ec57c96751e743abf7a137b625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29e6b594aac08d7392f0f0859abae1f3dec97ec57c96751e743abf7a137b625", kill_on_drop: false }` [INFO] [stdout] d29e6b594aac08d7392f0f0859abae1f3dec97ec57c96751e743abf7a137b625