[INFO] fetching crate illumos-priv 0.1.0... [INFO] checking illumos-priv-0.1.0 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] extracting crate illumos-priv 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate illumos-priv 0.1.0 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1663d82a2f006c2ef0f0402716576f78ee9336ccbc94ff062ac6fbf87cc414a1 [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" "1663d82a2f006c2ef0f0402716576f78ee9336ccbc94ff062ac6fbf87cc414a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1663d82a2f006c2ef0f0402716576f78ee9336ccbc94ff062ac6fbf87cc414a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1663d82a2f006c2ef0f0402716576f78ee9336ccbc94ff062ac6fbf87cc414a1", kill_on_drop: false }` [INFO] [stdout] 1663d82a2f006c2ef0f0402716576f78ee9336ccbc94ff062ac6fbf87cc414a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcf980fd54ab9f1aa57f8c208977146f56e7888e951760e07518c3af96e586b8 [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" "dcf980fd54ab9f1aa57f8c208977146f56e7888e951760e07518c3af96e586b8", 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" "dcf980fd54ab9f1aa57f8c208977146f56e7888e951760e07518c3af96e586b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf980fd54ab9f1aa57f8c208977146f56e7888e951760e07518c3af96e586b8", kill_on_drop: false }` [INFO] [stdout] dcf980fd54ab9f1aa57f8c208977146f56e7888e951760e07518c3af96e586b8