[INFO] fetching crate ttk4145_elevator_server 0.1.3... [INFO] testing ttk4145_elevator_server-0.1.3 against beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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] 119855a285e5c328857f7cee14f5f8181cdfe584b9ead1330e6de4a621438ca5 [INFO] running `Command { std: "docker" "start" "-a" "119855a285e5c328857f7cee14f5f8181cdfe584b9ead1330e6de4a621438ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "119855a285e5c328857f7cee14f5f8181cdfe584b9ead1330e6de4a621438ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119855a285e5c328857f7cee14f5f8181cdfe584b9ead1330e6de4a621438ca5", kill_on_drop: false }` [INFO] [stdout] 119855a285e5c328857f7cee14f5f8181cdfe584b9ead1330e6de4a621438ca5 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] ccb208b9bdd33c66a280dd2375620924918004fea2075ad756d246ad71c614b0 [INFO] running `Command { std: "docker" "start" "-a" "ccb208b9bdd33c66a280dd2375620924918004fea2075ad756d246ad71c614b0", 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-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.ElevatorServer.7f5ab64b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149.25x6nqpleznw0bfd.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lcomedi" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-44afddf82674132d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ElevatorServer-bad54def5dc7b149" "-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" "ccb208b9bdd33c66a280dd2375620924918004fea2075ad756d246ad71c614b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb208b9bdd33c66a280dd2375620924918004fea2075ad756d246ad71c614b0", kill_on_drop: false }` [INFO] [stdout] ccb208b9bdd33c66a280dd2375620924918004fea2075ad756d246ad71c614b0