[INFO] fetching crate ttk4145_elevator_server 0.1.3... [INFO] testing ttk4145_elevator_server-0.1.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate ttk4145_elevator_server 0.1.3 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate ttk4145_elevator_server 0.1.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ttk4145_elevator_server 0.1.3 [INFO] finished tweaking crates.io crate ttk4145_elevator_server 0.1.3 [INFO] tweaked toml for crates.io crate ttk4145_elevator_server 0.1.3 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] cba3d1d8f9f4fe0f4a018e343f58e9d78f41dee1821409697e18b235bec88cef [INFO] running `Command { std: "docker" "start" "-a" "cba3d1d8f9f4fe0f4a018e343f58e9d78f41dee1821409697e18b235bec88cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba3d1d8f9f4fe0f4a018e343f58e9d78f41dee1821409697e18b235bec88cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba3d1d8f9f4fe0f4a018e343f58e9d78f41dee1821409697e18b235bec88cef", kill_on_drop: false }` [INFO] [stdout] cba3d1d8f9f4fe0f4a018e343f58e9d78f41dee1821409697e18b235bec88cef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44513c88dad16ebe69e1da98fbcbcfa6b0584731e97341fd3bdad649bad0f781 [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" "44513c88dad16ebe69e1da98fbcbcfa6b0584731e97341fd3bdad649bad0f781", kill_on_drop: false }` [INFO] [stderr] Compiling ttk4145_elevator_server v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const OBSTRUCTION: c_uint = (0x300+23); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub(crate) const OBSTRUCTION: c_uint = (0x300+23); [INFO] [stdout] 13 + pub(crate) const OBSTRUCTION: c_uint = 0x300+23; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) const STOP: c_uint = (0x300+22); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - pub(crate) const STOP: c_uint = (0x300+22); [INFO] [stdout] 14 + pub(crate) const STOP: c_uint = 0x300+22; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) const BUTTON_COMMAND0: c_uint = (0x300+21); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - pub(crate) const BUTTON_COMMAND0: c_uint = (0x300+21); [INFO] [stdout] 15 + pub(crate) const BUTTON_COMMAND0: c_uint = 0x300+21; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const BUTTON_COMMAND1: c_uint = (0x300+20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub(crate) const BUTTON_COMMAND1: c_uint = (0x300+20); [INFO] [stdout] 16 + pub(crate) const BUTTON_COMMAND1: c_uint = 0x300+20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) const BUTTON_COMMAND2: c_uint = (0x300+19); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub(crate) const BUTTON_COMMAND2: c_uint = (0x300+19); [INFO] [stdout] 17 + pub(crate) const BUTTON_COMMAND2: c_uint = 0x300+19; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const BUTTON_COMMAND3: c_uint = (0x300+18); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - pub(crate) const BUTTON_COMMAND3: c_uint = (0x300+18); [INFO] [stdout] 18 + pub(crate) const BUTTON_COMMAND3: c_uint = 0x300+18; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const BUTTON_UP0: c_uint = (0x300+17); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub(crate) const BUTTON_UP0: c_uint = (0x300+17); [INFO] [stdout] 19 + pub(crate) const BUTTON_UP0: c_uint = 0x300+17; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const BUTTON_UP1: c_uint = (0x300+16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub(crate) const BUTTON_UP1: c_uint = (0x300+16); [INFO] [stdout] 20 + pub(crate) const BUTTON_UP1: c_uint = 0x300+16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) const BUTTON_DOWN1: c_uint = (0x200+0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub(crate) const BUTTON_DOWN1: c_uint = (0x200+0); [INFO] [stdout] 26 + pub(crate) const BUTTON_DOWN1: c_uint = 0x200+0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) const BUTTON_UP2: c_uint = (0x200+1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub(crate) const BUTTON_UP2: c_uint = (0x200+1); [INFO] [stdout] 27 + pub(crate) const BUTTON_UP2: c_uint = 0x200+1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) const BUTTON_DOWN2: c_uint = (0x200+2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub(crate) const BUTTON_DOWN2: c_uint = (0x200+2); [INFO] [stdout] 28 + pub(crate) const BUTTON_DOWN2: c_uint = 0x200+2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const BUTTON_DOWN3: c_uint = (0x200+3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub(crate) const BUTTON_DOWN3: c_uint = (0x200+3); [INFO] [stdout] 29 + pub(crate) const BUTTON_DOWN3: c_uint = 0x200+3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) const SENSOR_FLOOR0: c_uint = (0x200+4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - pub(crate) const SENSOR_FLOOR0: c_uint = (0x200+4); [INFO] [stdout] 30 + pub(crate) const SENSOR_FLOOR0: c_uint = 0x200+4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) const SENSOR_FLOOR1: c_uint = (0x200+5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - pub(crate) const SENSOR_FLOOR1: c_uint = (0x200+5); [INFO] [stdout] 31 + pub(crate) const SENSOR_FLOOR1: c_uint = 0x200+5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) const SENSOR_FLOOR2: c_uint = (0x200+6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - pub(crate) const SENSOR_FLOOR2: c_uint = (0x200+6); [INFO] [stdout] 32 + pub(crate) const SENSOR_FLOOR2: c_uint = 0x200+6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) const SENSOR_FLOOR3: c_uint = (0x200+7); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub(crate) const SENSOR_FLOOR3: c_uint = (0x200+7); [INFO] [stdout] 33 + pub(crate) const SENSOR_FLOOR3: c_uint = 0x200+7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) const LIGHT_STOP: c_uint = (0x300+14); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - pub(crate) const LIGHT_STOP: c_uint = (0x300+14); [INFO] [stdout] 40 + pub(crate) const LIGHT_STOP: c_uint = 0x300+14; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) const LIGHT_COMMAND0: c_uint = (0x300+13); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - pub(crate) const LIGHT_COMMAND0: c_uint = (0x300+13); [INFO] [stdout] 41 + pub(crate) const LIGHT_COMMAND0: c_uint = 0x300+13; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const LIGHT_COMMAND1: c_uint = (0x300+12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - pub(crate) const LIGHT_COMMAND1: c_uint = (0x300+12); [INFO] [stdout] 42 + pub(crate) const LIGHT_COMMAND1: c_uint = 0x300+12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) const LIGHT_COMMAND2: c_uint = (0x300+11); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub(crate) const LIGHT_COMMAND2: c_uint = (0x300+11); [INFO] [stdout] 43 + pub(crate) const LIGHT_COMMAND2: c_uint = 0x300+11; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) const LIGHT_COMMAND3: c_uint = (0x300+10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - pub(crate) const LIGHT_COMMAND3: c_uint = (0x300+10); [INFO] [stdout] 44 + pub(crate) const LIGHT_COMMAND3: c_uint = 0x300+10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) const LIGHT_UP0: c_uint = (0x300+9); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub(crate) const LIGHT_UP0: c_uint = (0x300+9); [INFO] [stdout] 45 + pub(crate) const LIGHT_UP0: c_uint = 0x300+9; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const LIGHT_UP1: c_uint = (0x300+8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - pub(crate) const LIGHT_UP1: c_uint = (0x300+8); [INFO] [stdout] 46 + pub(crate) const LIGHT_UP1: c_uint = 0x300+8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) const LIGHT_DOWN1: c_uint = (0x300+7); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub(crate) const LIGHT_DOWN1: c_uint = (0x300+7); [INFO] [stdout] 52 + pub(crate) const LIGHT_DOWN1: c_uint = 0x300+7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) const LIGHT_UP2: c_uint = (0x300+6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - pub(crate) const LIGHT_UP2: c_uint = (0x300+6); [INFO] [stdout] 53 + pub(crate) const LIGHT_UP2: c_uint = 0x300+6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) const LIGHT_DOWN2: c_uint = (0x300+5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub(crate) const LIGHT_DOWN2: c_uint = (0x300+5); [INFO] [stdout] 54 + pub(crate) const LIGHT_DOWN2: c_uint = 0x300+5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) const LIGHT_DOWN3: c_uint = (0x300+4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - pub(crate) const LIGHT_DOWN3: c_uint = (0x300+4); [INFO] [stdout] 55 + pub(crate) const LIGHT_DOWN3: c_uint = 0x300+4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) const LIGHT_DOOR_OPEN: c_uint = (0x300+3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub(crate) const LIGHT_DOOR_OPEN: c_uint = (0x300+3); [INFO] [stdout] 56 + pub(crate) const LIGHT_DOOR_OPEN: c_uint = 0x300+3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) const LIGHT_FLOOR_IND1: c_uint =(0x300+1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - pub(crate) const LIGHT_FLOOR_IND1: c_uint =(0x300+1); [INFO] [stdout] 57 + pub(crate) const LIGHT_FLOOR_IND1: c_uint =0x300+1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) const LIGHT_FLOOR_IND0: c_uint =(0x300+0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub(crate) const LIGHT_FLOOR_IND0: c_uint =(0x300+0); [INFO] [stdout] 58 + pub(crate) const LIGHT_FLOOR_IND0: c_uint =0x300+0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/channel.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) const MOTOR: c_uint = (0x100+0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - pub(crate) const MOTOR: c_uint = (0x100+0); [INFO] [stdout] 61 + pub(crate) const MOTOR: c_uint = 0x100+0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:107:76 [INFO] [stdout] | [INFO] [stdout] 107 | let comedi = comedi_open(CString::new(interface_name).unwrap().as_ptr()); [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ElevatorServer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `elevator_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.ElevatorServer.ee84cde8-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602.59jmdwesb2vgoadl.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lcomedi" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ElevatorServer-f49722ffecb07602" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lcomedi [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ttk4145_elevator_server` due to 2 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44513c88dad16ebe69e1da98fbcbcfa6b0584731e97341fd3bdad649bad0f781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44513c88dad16ebe69e1da98fbcbcfa6b0584731e97341fd3bdad649bad0f781", kill_on_drop: false }` [INFO] [stdout] 44513c88dad16ebe69e1da98fbcbcfa6b0584731e97341fd3bdad649bad0f781