[INFO] fetching crate illumos-priv 0.1.0... [INFO] checking illumos-priv-0.1.0 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate illumos-priv 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate illumos-priv 0.1.0 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate illumos-priv 0.1.0 [INFO] finished tweaking crates.io crate illumos-priv 0.1.0 [INFO] tweaked toml for crates.io crate illumos-priv 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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] b19e042f529986ea0622baf0f58fc29e2f5f78142222e58c2966e2d1bdd97745 [INFO] running `Command { std: "docker" "start" "-a" "b19e042f529986ea0622baf0f58fc29e2f5f78142222e58c2966e2d1bdd97745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b19e042f529986ea0622baf0f58fc29e2f5f78142222e58c2966e2d1bdd97745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19e042f529986ea0622baf0f58fc29e2f5f78142222e58c2966e2d1bdd97745", kill_on_drop: false }` [INFO] [stdout] b19e042f529986ea0622baf0f58fc29e2f5f78142222e58c2966e2d1bdd97745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82a5ceba2a09a2df750c2cac5bc05a14848fe072eab5a9644f1df0a7231fac2b [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" "82a5ceba2a09a2df750c2cac5bc05a14848fe072eab5a9644f1df0a7231fac2b", kill_on_drop: false }` [INFO] [stderr] Checking illumos-priv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | / extern "C" { [INFO] [stdout] 17 | | /// allocates sufficient memory to contain a privilege set. The value of the returned privilege [INFO] [stdout] 18 | | /// set is indeterminate. The function returns NULL and sets errno when it fails to allocate [INFO] [stdout] 19 | | /// memory. [INFO] [stdout] ... | [INFO] [stdout] 45 | | pub fn getppriv(which: *const c_char, set: *mut OpaquePrivSet) -> c_int; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_attributes)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a function or static [INFO] [stdout] --> src/ffi.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | / extern "C" { [INFO] [stdout] 17 | | /// allocates sufficient memory to contain a privilege set. The value of the returned privilege [INFO] [stdout] 18 | | /// set is indeterminate. The function returns NULL and sets errno when it fails to allocate [INFO] [stdout] 19 | | /// memory. [INFO] [stdout] ... | [INFO] [stdout] 45 | | pub fn getppriv(which: *const c_char, set: *mut OpaquePrivSet) -> c_int; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_attributes)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `illumos-priv` [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "82a5ceba2a09a2df750c2cac5bc05a14848fe072eab5a9644f1df0a7231fac2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a5ceba2a09a2df750c2cac5bc05a14848fe072eab5a9644f1df0a7231fac2b", kill_on_drop: false }` [INFO] [stdout] 82a5ceba2a09a2df750c2cac5bc05a14848fe072eab5a9644f1df0a7231fac2b