[INFO] fetching crate sapp-kms 0.1.1... [INFO] testing sapp-kms-0.1.1 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate sapp-kms 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sapp-kms 0.1.1 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapp-kms 0.1.1 [INFO] finished tweaking crates.io crate sapp-kms 0.1.1 [INFO] tweaked toml for crates.io crate sapp-kms 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21bafb2be48f78434e4b3b8c528f173ac5b0868a3de4eb5b4f18f91db7713eac [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" "21bafb2be48f78434e4b3b8c528f173ac5b0868a3de4eb5b4f18f91db7713eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21bafb2be48f78434e4b3b8c528f173ac5b0868a3de4eb5b4f18f91db7713eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21bafb2be48f78434e4b3b8c528f173ac5b0868a3de4eb5b4f18f91db7713eac", kill_on_drop: false }` [INFO] [stdout] 21bafb2be48f78434e4b3b8c528f173ac5b0868a3de4eb5b4f18f91db7713eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5fd5780ec1a4ed98e9d83165978594cd4cd66e5d6902bfdc48dff8f4681c017 [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" "d5fd5780ec1a4ed98e9d83165978594cd4cd66e5d6902bfdc48dff8f4681c017", kill_on_drop: false }` [INFO] [stderr] Compiling sapp-kms v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | fn open(__file: *const libc::c_char, __oflag: libc::c_int, _: ...) -> libc::c_int; [INFO] [stdout] | ---------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | fn strerror(_: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | fn calloc(_: libc::c_ulong, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | fn free(__ptr: *mut libc::c_void); [INFO] [stdout] | ---------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | fn drmHandleEvent(fd: libc::c_int, evctx_0: drmEventContextPtr) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | fn drmModeFreeConnector(ptr: drmModeConnectorPtr); [INFO] [stdout] | -------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | fn drmModeFreeEncoder(ptr: drmModeEncoderPtr); [INFO] [stdout] | ---------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | fn drmModeGetResources(fd: libc::c_int) -> drmModeResPtr; [INFO] [stdout] | --------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | / fn drmModeAddFB( [INFO] [stdout] 32 | | fd: libc::c_int, [INFO] [stdout] 33 | | width: u32, [INFO] [stdout] 34 | | height: u32, [INFO] [stdout] ... | [INFO] [stdout] 39 | | buf_id: *mut u32, [INFO] [stdout] 40 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | fn drmModeRmFB(fd: libc::c_int, bufferId: u32) -> libc::c_int; [INFO] [stdout] | -------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | / fn drmModeSetCrtc( [INFO] [stdout] 45 | | fd: libc::c_int, [INFO] [stdout] 46 | | crtcId: u32, [INFO] [stdout] 47 | | bufferId: u32, [INFO] [stdout] ... | [INFO] [stdout] 52 | | mode: drmModeModeInfoPtr, [INFO] [stdout] 53 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | fn drmModeGetEncoder(fd: libc::c_int, encoder_id: u32) -> drmModeEncoderPtr; [INFO] [stdout] | ---------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | fn drmModeGetConnector(fd: libc::c_int, connectorId: u32) -> drmModeConnectorPtr; [INFO] [stdout] | --------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | / fn drmModePageFlip( [INFO] [stdout] 60 | | fd: libc::c_int, [INFO] [stdout] 61 | | crtc_id: u32, [INFO] [stdout] 62 | | fb_id: u32, [INFO] [stdout] 63 | | flags: u32, [INFO] [stdout] 64 | | user_data: *mut libc::c_void, [INFO] [stdout] 65 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "d5fd5780ec1a4ed98e9d83165978594cd4cd66e5d6902bfdc48dff8f4681c017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5fd5780ec1a4ed98e9d83165978594cd4cd66e5d6902bfdc48dff8f4681c017", kill_on_drop: false }` [INFO] [stdout] d5fd5780ec1a4ed98e9d83165978594cd4cd66e5d6902bfdc48dff8f4681c017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 638a0dc21cecb0500cccfd025d6cacee8d852210acbea6e7418ceac3b96d05c1 [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" "638a0dc21cecb0500cccfd025d6cacee8d852210acbea6e7418ceac3b96d05c1", kill_on_drop: false }` [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | fn open(__file: *const libc::c_char, __oflag: libc::c_int, _: ...) -> libc::c_int; [INFO] [stdout] | ---------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | fn strerror(_: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | fn calloc(_: libc::c_ulong, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | fn free(__ptr: *mut libc::c_void); [INFO] [stdout] | ---------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | fn drmHandleEvent(fd: libc::c_int, evctx_0: drmEventContextPtr) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | fn drmModeFreeConnector(ptr: drmModeConnectorPtr); [INFO] [stdout] | -------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | fn drmModeFreeEncoder(ptr: drmModeEncoderPtr); [INFO] [stdout] | ---------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | fn drmModeGetResources(fd: libc::c_int) -> drmModeResPtr; [INFO] [stdout] | --------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | / fn drmModeAddFB( [INFO] [stdout] 32 | | fd: libc::c_int, [INFO] [stdout] 33 | | width: u32, [INFO] [stdout] 34 | | height: u32, [INFO] [stdout] ... | [INFO] [stdout] 39 | | buf_id: *mut u32, [INFO] [stdout] 40 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | fn drmModeRmFB(fd: libc::c_int, bufferId: u32) -> libc::c_int; [INFO] [stdout] | -------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | / fn drmModeSetCrtc( [INFO] [stdout] 45 | | fd: libc::c_int, [INFO] [stdout] 46 | | crtcId: u32, [INFO] [stdout] 47 | | bufferId: u32, [INFO] [stdout] ... | [INFO] [stdout] 52 | | mode: drmModeModeInfoPtr, [INFO] [stdout] 53 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | fn drmModeGetEncoder(fd: libc::c_int, encoder_id: u32) -> drmModeEncoderPtr; [INFO] [stdout] | ---------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | fn drmModeGetConnector(fd: libc::c_int, connectorId: u32) -> drmModeConnectorPtr; [INFO] [stdout] | --------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | / fn drmModePageFlip( [INFO] [stdout] 60 | | fd: libc::c_int, [INFO] [stdout] 61 | | crtc_id: u32, [INFO] [stdout] 62 | | fb_id: u32, [INFO] [stdout] 63 | | flags: u32, [INFO] [stdout] 64 | | user_data: *mut libc::c_void, [INFO] [stdout] 65 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] Compiling sapp-kms v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | fn open(__file: *const libc::c_char, __oflag: libc::c_int, _: ...) -> libc::c_int; [INFO] [stdout] | ---------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | fn strerror(_: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | fn calloc(_: libc::c_ulong, _: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | fn free(__ptr: *mut libc::c_void); [INFO] [stdout] | ---------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | fn drmHandleEvent(fd: libc::c_int, evctx_0: drmEventContextPtr) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | fn drmModeFreeConnector(ptr: drmModeConnectorPtr); [INFO] [stdout] | -------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | fn drmModeFreeEncoder(ptr: drmModeEncoderPtr); [INFO] [stdout] | ---------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | fn drmModeGetResources(fd: libc::c_int) -> drmModeResPtr; [INFO] [stdout] | --------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | / fn drmModeAddFB( [INFO] [stdout] 32 | | fd: libc::c_int, [INFO] [stdout] 33 | | width: u32, [INFO] [stdout] 34 | | height: u32, [INFO] [stdout] ... | [INFO] [stdout] 39 | | buf_id: *mut u32, [INFO] [stdout] 40 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | fn drmModeRmFB(fd: libc::c_int, bufferId: u32) -> libc::c_int; [INFO] [stdout] | -------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | / fn drmModeSetCrtc( [INFO] [stdout] 45 | | fd: libc::c_int, [INFO] [stdout] 46 | | crtcId: u32, [INFO] [stdout] 47 | | bufferId: u32, [INFO] [stdout] ... | [INFO] [stdout] 52 | | mode: drmModeModeInfoPtr, [INFO] [stdout] 53 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | fn drmModeGetEncoder(fd: libc::c_int, encoder_id: u32) -> drmModeEncoderPtr; [INFO] [stdout] | ---------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | fn drmModeGetConnector(fd: libc::c_int, connectorId: u32) -> drmModeConnectorPtr; [INFO] [stdout] | --------------------------------------------------------------------------------- not a function or static [INFO] [stdout] | [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] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/kms.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | / fn drmModePageFlip( [INFO] [stdout] 60 | | fd: libc::c_int, [INFO] [stdout] 61 | | crtc_id: u32, [INFO] [stdout] 62 | | fb_id: u32, [INFO] [stdout] 63 | | flags: u32, [INFO] [stdout] 64 | | user_data: *mut libc::c_void, [INFO] [stdout] 65 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________- not a function or static [INFO] [stdout] | [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: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.sapp_kms.exn44k81-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704" "/opt/rustwide/target/debug/deps/sapp_kms-76bb359c1e29b704.5baartbsezo1ag6k.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lGLESv2" "-lEGL" "-ldrm" "-lgbm" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-c99ebba9851136ef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-190ecd0479955c2e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-10cf7eacb763a707.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-5f0069e1a0595222.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-176a753cf8833059.rlib" "/opt/rustwide/target/debug/deps/liblibc-77d6541a42757d2c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7444fd17919e9af0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0ee2f67026959ab7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-df1bcd1e82256d04.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ed9ecf1b54021131.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0ede66bb24e94b96.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7c2de7f50940865c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-b138d50085fd4683.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6576870d8f2b9ae2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-042a30c5f67b2c91.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7b3f33d3dbe385dc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-90b3063cd7b22527.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-17f9484f8dc4da1e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-df38345acd9d92e1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5e10ca10bdd9e54.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9e5b4162eeef2cef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3a4e739a77468800.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0f3a0c116d5e04d6.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgbm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sapp-kms` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "638a0dc21cecb0500cccfd025d6cacee8d852210acbea6e7418ceac3b96d05c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638a0dc21cecb0500cccfd025d6cacee8d852210acbea6e7418ceac3b96d05c1", kill_on_drop: false }` [INFO] [stdout] 638a0dc21cecb0500cccfd025d6cacee8d852210acbea6e7418ceac3b96d05c1