[INFO] fetching crate nat-poc 0.2.2... [INFO] checking nat-poc-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate nat-poc 0.2.2 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nat-poc 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nat-poc 0.2.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty-bytes v0.2.2 [INFO] [stderr] Downloaded filetime v0.2.13 [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded structopt v0.3.20 [INFO] [stderr] Downloaded structopt-derive v0.4.13 [INFO] [stderr] Downloaded unicode-segmentation v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c08fc6182169b89ca63db4f2b5a52926e84ecd059845fd3e464590c386540c [INFO] running `Command { std: "docker" "start" "-a" "18c08fc6182169b89ca63db4f2b5a52926e84ecd059845fd3e464590c386540c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c08fc6182169b89ca63db4f2b5a52926e84ecd059845fd3e464590c386540c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c08fc6182169b89ca63db4f2b5a52926e84ecd059845fd3e464590c386540c", kill_on_drop: false }` [INFO] [stdout] 18c08fc6182169b89ca63db4f2b5a52926e84ecd059845fd3e464590c386540c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2f78f588dc5f1d49384df7468223e86b59c16e54c37f69b17a51fa3130bbc83 [INFO] running `Command { std: "docker" "start" "-a" "a2f78f588dc5f1d49384df7468223e86b59c16e54c37f69b17a51fa3130bbc83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking users v0.11.0 [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 (/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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/perms.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn masking(mode: u16, read: u16, write: u16, execute: u16) -> String { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/perms.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn masking(mode: u16, read: u16, write: u16, execute: u16) -> String { [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: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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/perms.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn masking(mode: u16, read: u16, write: u16, execute: u16) -> String { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/perms.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn masking(mode: u16, read: u16, write: u16, execute: u16) -> String { [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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/perms.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn masking(mode: u16, read: u16, write: u16, execute: u16) -> String { [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[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] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/perms.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn masking(mode: u16, read: u16, write: u16, execute: u16) -> String { [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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nat-poc` (bin "nat-poc") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nat-poc` (bin "nat-poc" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a2f78f588dc5f1d49384df7468223e86b59c16e54c37f69b17a51fa3130bbc83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f78f588dc5f1d49384df7468223e86b59c16e54c37f69b17a51fa3130bbc83", kill_on_drop: false }` [INFO] [stdout] a2f78f588dc5f1d49384df7468223e86b59c16e54c37f69b17a51fa3130bbc83