[INFO] fetching crate illumos-priv 0.1.0... [INFO] checking illumos-priv-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate illumos-priv 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate illumos-priv 0.1.0 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 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 04230c162958b72db0d7dbe7ee74b318b8aa0d1252093dfbaab45f7d2db1e6a0 [INFO] running `Command { std: "docker" "start" "-a" "04230c162958b72db0d7dbe7ee74b318b8aa0d1252093dfbaab45f7d2db1e6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04230c162958b72db0d7dbe7ee74b318b8aa0d1252093dfbaab45f7d2db1e6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04230c162958b72db0d7dbe7ee74b318b8aa0d1252093dfbaab45f7d2db1e6a0", kill_on_drop: false }` [INFO] [stdout] 04230c162958b72db0d7dbe7ee74b318b8aa0d1252093dfbaab45f7d2db1e6a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 85e03e62b0a630c57ecf094e8c417cf8be71ae5768b5dfee80ed914d8f0cde7a [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" "85e03e62b0a630c57ecf094e8c417cf8be71ae5768b5dfee80ed914d8f0cde7a", 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] [stderr] error: could not compile `illumos-priv` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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" "85e03e62b0a630c57ecf094e8c417cf8be71ae5768b5dfee80ed914d8f0cde7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e03e62b0a630c57ecf094e8c417cf8be71ae5768b5dfee80ed914d8f0cde7a", kill_on_drop: false }` [INFO] [stdout] 85e03e62b0a630c57ecf094e8c417cf8be71ae5768b5dfee80ed914d8f0cde7a