[INFO] fetching crate nat-poc 0.2.2... [INFO] checking nat-poc-0.2.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate nat-poc 0.2.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate nat-poc 0.2.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nat-poc 0.2.2 [INFO] finished tweaking crates.io crate nat-poc 0.2.2 [INFO] tweaked toml for crates.io crate nat-poc 0.2.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate nat-poc 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da5ce61e9d058fb6436fb1cb9c1765eaa6169b21f255a2d95065d6211810e6be [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" "da5ce61e9d058fb6436fb1cb9c1765eaa6169b21f255a2d95065d6211810e6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da5ce61e9d058fb6436fb1cb9c1765eaa6169b21f255a2d95065d6211810e6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5ce61e9d058fb6436fb1cb9c1765eaa6169b21f255a2d95065d6211810e6be", kill_on_drop: false }` [INFO] [stdout] da5ce61e9d058fb6436fb1cb9c1765eaa6169b21f255a2d95065d6211810e6be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9796449897dd9ea47944794e7a4978a8eab416df163c9c22673692520ae34817 [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" "9796449897dd9ea47944794e7a4978a8eab416df163c9c22673692520ae34817", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Compiling heck v0.3.1 [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 (/opt/rustwide/workdir) [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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] running `Command { std: "docker" "inspect" "9796449897dd9ea47944794e7a4978a8eab416df163c9c22673692520ae34817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9796449897dd9ea47944794e7a4978a8eab416df163c9c22673692520ae34817", kill_on_drop: false }` [INFO] [stdout] 9796449897dd9ea47944794e7a4978a8eab416df163c9c22673692520ae34817