[INFO] cloning repository https://github.com/willdoescode/nat-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willdoescode/nat-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilldoescode%2Fnat-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilldoescode%2Fnat-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 102a5c76e1bd3368b0bdb46a9b09de55b7cbabb4 [INFO] checking willdoescode/nat-poc against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilldoescode%2Fnat-poc" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willdoescode/nat-poc 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/willdoescode/nat-poc [INFO] finished tweaking git repo https://github.com/willdoescode/nat-poc [INFO] tweaked toml for git repo https://github.com/willdoescode/nat-poc written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/willdoescode/nat-poc 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty-bytes v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] 558555856bb0cd76d421c5582079fe370d4dde97ea80d4abddf07d4fa348e960 [INFO] running `Command { std: "docker" "start" "-a" "558555856bb0cd76d421c5582079fe370d4dde97ea80d4abddf07d4fa348e960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "558555856bb0cd76d421c5582079fe370d4dde97ea80d4abddf07d4fa348e960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558555856bb0cd76d421c5582079fe370d4dde97ea80d4abddf07d4fa348e960", kill_on_drop: false }` [INFO] [stdout] 558555856bb0cd76d421c5582079fe370d4dde97ea80d4abddf07d4fa348e960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 82dda85f43d032fcb33d672895338f04b09217af533b2e4975e998e5285308e6 [INFO] running `Command { std: "docker" "start" "-a" "82dda85f43d032fcb33d672895338f04b09217af533b2e4975e998e5285308e6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking nat-poc v0.2.2 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/perms.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | let user = masking(mode, S_IRUSR as u16, S_IWUSR as u16, S_IXUSR); [INFO] [stdout] | ^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 6 | let user = masking(mode, S_IRUSR as u16, S_IWUSR as u16, S_IXUSR.try_into().unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/perms.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | let group = masking(mode, S_IRGRP as u16, S_IWGRP as u16, S_IXGRP); [INFO] [stdout] | ^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 7 | let group = masking(mode, S_IRGRP as u16, S_IWGRP as u16, S_IXGRP.try_into().unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/perms.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | let other = masking(mode, S_IROTH as u16, S_IWOTH as u16, S_IXOTH); [INFO] [stdout] | ^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 8 | let other = masking(mode, S_IROTH as u16, S_IWOTH as u16, S_IXOTH.try_into().unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nat-poc` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/perms.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | let user = masking(mode, S_IRUSR as u16, S_IWUSR as u16, S_IXUSR); [INFO] [stdout] | ^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 6 | let user = masking(mode, S_IRUSR as u16, S_IWUSR as u16, S_IXUSR.try_into().unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/perms.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | let group = masking(mode, S_IRGRP as u16, S_IWGRP as u16, S_IXGRP); [INFO] [stdout] | ^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 7 | let group = masking(mode, S_IRGRP as u16, S_IWGRP as u16, S_IXGRP.try_into().unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/perms.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | let other = masking(mode, S_IROTH as u16, S_IWOTH as u16, S_IXOTH); [INFO] [stdout] | ^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 8 | let other = masking(mode, S_IROTH as u16, S_IWOTH as u16, S_IXOTH.try_into().unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [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" "82dda85f43d032fcb33d672895338f04b09217af533b2e4975e998e5285308e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82dda85f43d032fcb33d672895338f04b09217af533b2e4975e998e5285308e6", kill_on_drop: false }` [INFO] [stdout] 82dda85f43d032fcb33d672895338f04b09217af533b2e4975e998e5285308e6