[INFO] cloning repository https://github.com/llenotre/maestro-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/llenotre/maestro-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fmaestro-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fmaestro-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c364bd349934ee41e7c7fd371c864d8de858027 [INFO] building llenotre/maestro-utils against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fmaestro-utils" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/llenotre/maestro-utils on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/llenotre/maestro-utils [INFO] finished tweaking git repo https://github.com/llenotre/maestro-utils [INFO] tweaked toml for git repo https://github.com/llenotre/maestro-utils written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/llenotre/maestro-utils already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06d05aa6af7c22fb99ae8a1b8b160b3fb4c8e86fa304a07a2f261844a3c5b61a [INFO] running `Command { std: "docker" "start" "-a" "06d05aa6af7c22fb99ae8a1b8b160b3fb4c8e86fa304a07a2f261844a3c5b61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06d05aa6af7c22fb99ae8a1b8b160b3fb4c8e86fa304a07a2f261844a3c5b61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d05aa6af7c22fb99ae8a1b8b160b3fb4c8e86fa304a07a2f261844a3c5b61a", kill_on_drop: false }` [INFO] [stdout] 06d05aa6af7c22fb99ae8a1b8b160b3fb4c8e86fa304a07a2f261844a3c5b61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c042d4d8d1922d07e00409d6e752b7686b2995db721a6015b50f642bccf1080 [INFO] running `Command { std: "docker" "start" "-a" "4c042d4d8d1922d07e00409d6e752b7686b2995db721a6015b50f642bccf1080", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling mount v0.1.0 (/opt/rustwide/workdir/mount) [INFO] [stderr] Compiling usrgrp v0.1.0 (/opt/rustwide/workdir/usrgrp) [INFO] [stderr] Compiling umount v0.1.0 (/opt/rustwide/workdir/umount) [INFO] [stderr] Compiling dmesg v0.1.0 (/opt/rustwide/workdir/dmesg) [INFO] [stderr] Compiling lsmod v0.1.0 (/opt/rustwide/workdir/lsmod) [INFO] [stderr] Compiling nologin v0.1.0 (/opt/rustwide/workdir/nologin) [INFO] [stdout] warning: constant `KMSG_PATH` is never used [INFO] [stdout] --> dmesg/src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const KMSG_PATH: &str = "/dev/kmsg"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RDONLY` is never used [INFO] [stdout] --> mount/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MS_RDONLY: c_ulong = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSUID` is never used [INFO] [stdout] --> mount/src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MS_NOSUID: c_ulong = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODEV` is never used [INFO] [stdout] --> mount/src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const MS_NODEV: c_ulong = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOEXEC` is never used [INFO] [stdout] --> mount/src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MS_NOEXEC: c_ulong = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SYNCHRONOUS` is never used [INFO] [stdout] --> mount/src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MS_SYNCHRONOUS: c_ulong = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MS_REMOUNT: c_ulong = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MANDLOCK` is never used [INFO] [stdout] --> mount/src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const MS_MANDLOCK: c_ulong = 64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_DIRSYNC` is never used [INFO] [stdout] --> mount/src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const MS_DIRSYNC: c_ulong = 128; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOATIME` is never used [INFO] [stdout] --> mount/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const MS_NOATIME: c_ulong = 1024; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODIRATIME` is never used [INFO] [stdout] --> mount/src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const MS_NODIRATIME: c_ulong = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BIND` is never used [INFO] [stdout] --> mount/src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const MS_BIND: c_ulong = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MOVE` is never used [INFO] [stdout] --> mount/src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const MS_MOVE: c_ulong = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REC` is never used [INFO] [stdout] --> mount/src/main.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const MS_REC: c_ulong = 16384; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SILENT` is never used [INFO] [stdout] --> mount/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const MS_SILENT: c_ulong = 32768; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_POSIXACL` is never used [INFO] [stdout] --> mount/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MS_POSIXACL: c_ulong = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_UNBINDABLE` is never used [INFO] [stdout] --> mount/src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const MS_UNBINDABLE: c_ulong = 1 << 17; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_PRIVATE` is never used [INFO] [stdout] --> mount/src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const MS_PRIVATE: c_ulong = 1 << 18; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SLAVE` is never used [INFO] [stdout] --> mount/src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const MS_SLAVE: c_ulong = 1 << 19; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SHARED` is never used [INFO] [stdout] --> mount/src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const MS_SHARED: c_ulong = 1 << 20; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RELATIME` is never used [INFO] [stdout] --> mount/src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const MS_RELATIME: c_ulong = 1 << 21; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_KERNMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const MS_KERNMOUNT: c_ulong = 1 << 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_I_VERSION` is never used [INFO] [stdout] --> mount/src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const MS_I_VERSION: c_ulong = 1 << 23; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_STRICTATIME` is never used [INFO] [stdout] --> mount/src/main.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const MS_STRICTATIME: c_ulong = 1 << 24; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_LAZYTIME` is never used [INFO] [stdout] --> mount/src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MS_LAZYTIME: c_ulong = 1 << 25; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOREMOTELOCK` is never used [INFO] [stdout] --> mount/src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const MS_NOREMOTELOCK: c_ulong = 1 << 27; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSEC` is never used [INFO] [stdout] --> mount/src/main.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const MS_NOSEC: c_ulong = 1 << 28; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BORN` is never used [INFO] [stdout] --> mount/src/main.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const MS_BORN: c_ulong = 1 << 29; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_ACTIVE` is never used [INFO] [stdout] --> mount/src/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const MS_ACTIVE: c_ulong = 1 << 30; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOUSER` is never used [INFO] [stdout] --> mount/src/main.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const MS_NOUSER: c_ulong = 1 << 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_VAL` is never used [INFO] [stdout] --> mount/src/main.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const MS_MGC_VAL: c_ulong = 0xc0ed0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_MSK` is never used [INFO] [stdout] --> mount/src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | const MS_MGC_MSK: c_ulong = 0xffff0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> utils/src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> utils/src/user.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_password(pass: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> utils/src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn free(ptr: *mut c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fdisk v0.1.0 (/opt/rustwide/workdir/fdisk) [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ps v0.1.0 (/opt/rustwide/workdir/ps) [INFO] [stderr] Compiling rmmod v0.1.0 (/opt/rustwide/workdir/rmmod) [INFO] [stderr] Compiling su v0.1.0 (/opt/rustwide/workdir/su) [INFO] [stderr] Compiling mkfs v0.1.0 (/opt/rustwide/workdir/mkfs) [INFO] [stderr] Compiling powerctl v0.1.0 (/opt/rustwide/workdir/powerctl) [INFO] [stderr] Compiling insmod v0.1.0 (/opt/rustwide/workdir/insmod) [INFO] [stderr] Compiling login v0.1.0 (/opt/rustwide/workdir/login) [INFO] [stdout] warning: field `group` is never read [INFO] [stdout] --> su/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Args<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | group: Option<&'s str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FS_STATE_ERROR` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const FS_STATE_ERROR: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_IGNORE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const ERR_ACTION_IGNORE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_KERNEL_PANIC` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const ERR_ACTION_KERNEL_PANIC: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_AFS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const OPTIONAL_FEATURE_AFS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_JOURNAL` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const OPTIONAL_FEATURE_JOURNAL: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_INODE_EXTENDED` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | const OPTIONAL_FEATURE_INODE_EXTENDED: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_RESIZE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const OPTIONAL_FEATURE_RESIZE: u32 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_HASH_INDEX` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const OPTIONAL_FEATURE_HASH_INDEX: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_COMPRESSION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const REQUIRED_FEATURE_COMPRESSION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_DIRECTORY_TYPE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const REQUIRED_FEATURE_DIRECTORY_TYPE: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_REPLAY` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const REQUIRED_FEATURE_JOURNAL_REPLAY: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_DEVIXE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const REQUIRED_FEATURE_JOURNAL_DEVIXE: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_SPARSE_SUPERBLOCKS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const WRITE_REQUIRED_SPARSE_SUPERBLOCKS: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_64_BITS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const WRITE_REQUIRED_64_BITS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_DIRECTORY_BINARY_TREE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const WRITE_REQUIRED_DIRECTORY_BINARY_TREE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> fdisk/src/main.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | fn print_help(prog: &str, script: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> fdisk/src/disk.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Disk { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "4c042d4d8d1922d07e00409d6e752b7686b2995db721a6015b50f642bccf1080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c042d4d8d1922d07e00409d6e752b7686b2995db721a6015b50f642bccf1080", kill_on_drop: false }` [INFO] [stdout] 4c042d4d8d1922d07e00409d6e752b7686b2995db721a6015b50f642bccf1080 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0da736ba5f8ab3d54b86f0ee630357dd435cfe84e88581985ba3401c7faf7068 [INFO] running `Command { std: "docker" "start" "-a" "0da736ba5f8ab3d54b86f0ee630357dd435cfe84e88581985ba3401c7faf7068", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Compiling umount v0.1.0 (/opt/rustwide/workdir/umount) [INFO] [stderr] Compiling nologin v0.1.0 (/opt/rustwide/workdir/nologin) [INFO] [stderr] Compiling lsmod v0.1.0 (/opt/rustwide/workdir/lsmod) [INFO] [stderr] Compiling usrgrp v0.1.0 (/opt/rustwide/workdir/usrgrp) [INFO] [stderr] Compiling dmesg v0.1.0 (/opt/rustwide/workdir/dmesg) [INFO] [stderr] Compiling mount v0.1.0 (/opt/rustwide/workdir/mount) [INFO] [stdout] warning: constant `KMSG_PATH` is never used [INFO] [stdout] --> dmesg/src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const KMSG_PATH: &str = "/dev/kmsg"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RDONLY` is never used [INFO] [stdout] --> mount/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MS_RDONLY: c_ulong = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSUID` is never used [INFO] [stdout] --> mount/src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MS_NOSUID: c_ulong = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODEV` is never used [INFO] [stdout] --> mount/src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const MS_NODEV: c_ulong = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOEXEC` is never used [INFO] [stdout] --> mount/src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MS_NOEXEC: c_ulong = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SYNCHRONOUS` is never used [INFO] [stdout] --> mount/src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MS_SYNCHRONOUS: c_ulong = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MS_REMOUNT: c_ulong = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MANDLOCK` is never used [INFO] [stdout] --> mount/src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const MS_MANDLOCK: c_ulong = 64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_DIRSYNC` is never used [INFO] [stdout] --> mount/src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const MS_DIRSYNC: c_ulong = 128; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOATIME` is never used [INFO] [stdout] --> mount/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const MS_NOATIME: c_ulong = 1024; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODIRATIME` is never used [INFO] [stdout] --> mount/src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const MS_NODIRATIME: c_ulong = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BIND` is never used [INFO] [stdout] --> mount/src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const MS_BIND: c_ulong = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MOVE` is never used [INFO] [stdout] --> mount/src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const MS_MOVE: c_ulong = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REC` is never used [INFO] [stdout] --> mount/src/main.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const MS_REC: c_ulong = 16384; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SILENT` is never used [INFO] [stdout] --> mount/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const MS_SILENT: c_ulong = 32768; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_POSIXACL` is never used [INFO] [stdout] --> mount/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MS_POSIXACL: c_ulong = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_UNBINDABLE` is never used [INFO] [stdout] --> mount/src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const MS_UNBINDABLE: c_ulong = 1 << 17; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_PRIVATE` is never used [INFO] [stdout] --> mount/src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const MS_PRIVATE: c_ulong = 1 << 18; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SLAVE` is never used [INFO] [stdout] --> mount/src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const MS_SLAVE: c_ulong = 1 << 19; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SHARED` is never used [INFO] [stdout] --> mount/src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const MS_SHARED: c_ulong = 1 << 20; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RELATIME` is never used [INFO] [stdout] --> mount/src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const MS_RELATIME: c_ulong = 1 << 21; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_KERNMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const MS_KERNMOUNT: c_ulong = 1 << 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_I_VERSION` is never used [INFO] [stdout] --> mount/src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const MS_I_VERSION: c_ulong = 1 << 23; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_STRICTATIME` is never used [INFO] [stdout] --> mount/src/main.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const MS_STRICTATIME: c_ulong = 1 << 24; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_LAZYTIME` is never used [INFO] [stdout] --> mount/src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MS_LAZYTIME: c_ulong = 1 << 25; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOREMOTELOCK` is never used [INFO] [stdout] --> mount/src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const MS_NOREMOTELOCK: c_ulong = 1 << 27; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSEC` is never used [INFO] [stdout] --> mount/src/main.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const MS_NOSEC: c_ulong = 1 << 28; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BORN` is never used [INFO] [stdout] --> mount/src/main.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const MS_BORN: c_ulong = 1 << 29; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_ACTIVE` is never used [INFO] [stdout] --> mount/src/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const MS_ACTIVE: c_ulong = 1 << 30; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOUSER` is never used [INFO] [stdout] --> mount/src/main.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const MS_NOUSER: c_ulong = 1 << 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_VAL` is never used [INFO] [stdout] --> mount/src/main.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const MS_MGC_VAL: c_ulong = 0xc0ed0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_MSK` is never used [INFO] [stdout] --> mount/src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | const MS_MGC_MSK: c_ulong = 0xffff0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> utils/src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> utils/src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> utils/src/user.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_password(pass: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> utils/src/user.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_password(pass: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> utils/src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn free(ptr: *mut c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> utils/src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn free(ptr: *mut c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fdisk v0.1.0 (/opt/rustwide/workdir/fdisk) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling powerctl v0.1.0 (/opt/rustwide/workdir/powerctl) [INFO] [stderr] Compiling login v0.1.0 (/opt/rustwide/workdir/login) [INFO] [stderr] Compiling mkfs v0.1.0 (/opt/rustwide/workdir/mkfs) [INFO] [stderr] Compiling su v0.1.0 (/opt/rustwide/workdir/su) [INFO] [stderr] Compiling rmmod v0.1.0 (/opt/rustwide/workdir/rmmod) [INFO] [stderr] Compiling insmod v0.1.0 (/opt/rustwide/workdir/insmod) [INFO] [stderr] Compiling ps v0.1.0 (/opt/rustwide/workdir/ps) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcpPkCfH/symbols.o" "/opt/rustwide/target/debug/deps/utils-277ad294f835c6fa.utils.ee95f82ae2ebf01a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/utils-277ad294f835c6fa.fy90gead75humr7.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/utils-81b0a58f66706173/out" "-L" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-lcrypt" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lutils" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-40fb39bc6de2de31.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-d3b13af4a27f1794.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-f05fc41f6f30a0d4.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-4e8b330a7c921459.rlib" "/opt/rustwide/target/debug/deps/liblibc-dc0bf1d661e61ab0.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-72b35984a787fb54.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0fdedff926cd8b5a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-fe0525e327a5464a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-795b2243f06bd098.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-86ce554ff6ad08cd.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1be635a4727d8e5e.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1e55d89766af9c5f.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-02605c7065574d0d.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-0d17ba1067febc2c.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2408fbe38b247900.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b3c63e8997fdca47.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-bfa7a39ebb77d49a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4b955078cf51c0a1.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1a6fbee0083900be.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2b93db426c5a26c2.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b30975e2b876cf32.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cd2f2bc505f56f50.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ec02dd343723da85.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-408115ade0360d2a.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/utils-277ad294f835c6fa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/utils-81b0a58f66706173/out/libutils.a(hash.o): in function `check_pass': [INFO] [stdout] /opt/rustwide/workdir/utils/src/hash.c:33: undefined reference to `crypt_r' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `utils` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `group` is never read [INFO] [stdout] --> su/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Args<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | group: Option<&'s str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FS_STATE_ERROR` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const FS_STATE_ERROR: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_IGNORE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const ERR_ACTION_IGNORE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_KERNEL_PANIC` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const ERR_ACTION_KERNEL_PANIC: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_AFS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const OPTIONAL_FEATURE_AFS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_JOURNAL` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const OPTIONAL_FEATURE_JOURNAL: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_INODE_EXTENDED` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | const OPTIONAL_FEATURE_INODE_EXTENDED: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_RESIZE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const OPTIONAL_FEATURE_RESIZE: u32 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_HASH_INDEX` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const OPTIONAL_FEATURE_HASH_INDEX: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_COMPRESSION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const REQUIRED_FEATURE_COMPRESSION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_DIRECTORY_TYPE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const REQUIRED_FEATURE_DIRECTORY_TYPE: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_REPLAY` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const REQUIRED_FEATURE_JOURNAL_REPLAY: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_DEVIXE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const REQUIRED_FEATURE_JOURNAL_DEVIXE: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_SPARSE_SUPERBLOCKS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const WRITE_REQUIRED_SPARSE_SUPERBLOCKS: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_64_BITS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const WRITE_REQUIRED_64_BITS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_DIRECTORY_BINARY_TREE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const WRITE_REQUIRED_DIRECTORY_BINARY_TREE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0da736ba5f8ab3d54b86f0ee630357dd435cfe84e88581985ba3401c7faf7068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da736ba5f8ab3d54b86f0ee630357dd435cfe84e88581985ba3401c7faf7068", kill_on_drop: false }` [INFO] [stdout] 0da736ba5f8ab3d54b86f0ee630357dd435cfe84e88581985ba3401c7faf7068 [INFO] building llenotre/maestro-utils against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fmaestro-utils" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/llenotre/maestro-utils on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/llenotre/maestro-utils [INFO] finished tweaking git repo https://github.com/llenotre/maestro-utils [INFO] tweaked toml for git repo https://github.com/llenotre/maestro-utils written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/llenotre/maestro-utils already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f80afa6be4ecc87e6481accbedc9d7f3ca7ac0289153bb23a81626314b7feaf4 [INFO] running `Command { std: "docker" "start" "-a" "f80afa6be4ecc87e6481accbedc9d7f3ca7ac0289153bb23a81626314b7feaf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f80afa6be4ecc87e6481accbedc9d7f3ca7ac0289153bb23a81626314b7feaf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80afa6be4ecc87e6481accbedc9d7f3ca7ac0289153bb23a81626314b7feaf4", kill_on_drop: false }` [INFO] [stdout] f80afa6be4ecc87e6481accbedc9d7f3ca7ac0289153bb23a81626314b7feaf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce567757063cfff8a56808428ecc2e8fada5c2e0086ca7e8fe639483c981ff88 [INFO] running `Command { std: "docker" "start" "-a" "ce567757063cfff8a56808428ecc2e8fada5c2e0086ca7e8fe639483c981ff88", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling dmesg v0.1.0 (/opt/rustwide/workdir/dmesg) [INFO] [stderr] Compiling usrgrp v0.1.0 (/opt/rustwide/workdir/usrgrp) [INFO] [stderr] Compiling mount v0.1.0 (/opt/rustwide/workdir/mount) [INFO] [stderr] Compiling umount v0.1.0 (/opt/rustwide/workdir/umount) [INFO] [stderr] Compiling lsmod v0.1.0 (/opt/rustwide/workdir/lsmod) [INFO] [stderr] Compiling nologin v0.1.0 (/opt/rustwide/workdir/nologin) [INFO] [stdout] warning: constant `KMSG_PATH` is never used [INFO] [stdout] --> dmesg/src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const KMSG_PATH: &str = "/dev/kmsg"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RDONLY` is never used [INFO] [stdout] --> mount/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MS_RDONLY: c_ulong = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSUID` is never used [INFO] [stdout] --> mount/src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MS_NOSUID: c_ulong = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODEV` is never used [INFO] [stdout] --> mount/src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const MS_NODEV: c_ulong = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOEXEC` is never used [INFO] [stdout] --> mount/src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MS_NOEXEC: c_ulong = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SYNCHRONOUS` is never used [INFO] [stdout] --> mount/src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MS_SYNCHRONOUS: c_ulong = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MS_REMOUNT: c_ulong = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MANDLOCK` is never used [INFO] [stdout] --> mount/src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const MS_MANDLOCK: c_ulong = 64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_DIRSYNC` is never used [INFO] [stdout] --> mount/src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const MS_DIRSYNC: c_ulong = 128; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOATIME` is never used [INFO] [stdout] --> mount/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const MS_NOATIME: c_ulong = 1024; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODIRATIME` is never used [INFO] [stdout] --> mount/src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const MS_NODIRATIME: c_ulong = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BIND` is never used [INFO] [stdout] --> mount/src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const MS_BIND: c_ulong = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MOVE` is never used [INFO] [stdout] --> mount/src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const MS_MOVE: c_ulong = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REC` is never used [INFO] [stdout] --> mount/src/main.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const MS_REC: c_ulong = 16384; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SILENT` is never used [INFO] [stdout] --> mount/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const MS_SILENT: c_ulong = 32768; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_POSIXACL` is never used [INFO] [stdout] --> mount/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MS_POSIXACL: c_ulong = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_UNBINDABLE` is never used [INFO] [stdout] --> mount/src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const MS_UNBINDABLE: c_ulong = 1 << 17; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_PRIVATE` is never used [INFO] [stdout] --> mount/src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const MS_PRIVATE: c_ulong = 1 << 18; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SLAVE` is never used [INFO] [stdout] --> mount/src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const MS_SLAVE: c_ulong = 1 << 19; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SHARED` is never used [INFO] [stdout] --> mount/src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const MS_SHARED: c_ulong = 1 << 20; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RELATIME` is never used [INFO] [stdout] --> mount/src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const MS_RELATIME: c_ulong = 1 << 21; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_KERNMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const MS_KERNMOUNT: c_ulong = 1 << 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_I_VERSION` is never used [INFO] [stdout] --> mount/src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const MS_I_VERSION: c_ulong = 1 << 23; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_STRICTATIME` is never used [INFO] [stdout] --> mount/src/main.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const MS_STRICTATIME: c_ulong = 1 << 24; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_LAZYTIME` is never used [INFO] [stdout] --> mount/src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MS_LAZYTIME: c_ulong = 1 << 25; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOREMOTELOCK` is never used [INFO] [stdout] --> mount/src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const MS_NOREMOTELOCK: c_ulong = 1 << 27; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSEC` is never used [INFO] [stdout] --> mount/src/main.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const MS_NOSEC: c_ulong = 1 << 28; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BORN` is never used [INFO] [stdout] --> mount/src/main.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const MS_BORN: c_ulong = 1 << 29; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_ACTIVE` is never used [INFO] [stdout] --> mount/src/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const MS_ACTIVE: c_ulong = 1 << 30; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOUSER` is never used [INFO] [stdout] --> mount/src/main.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const MS_NOUSER: c_ulong = 1 << 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_VAL` is never used [INFO] [stdout] --> mount/src/main.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const MS_MGC_VAL: c_ulong = 0xc0ed0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_MSK` is never used [INFO] [stdout] --> mount/src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | const MS_MGC_MSK: c_ulong = 0xffff0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> utils/src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> utils/src/user.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_password(pass: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> utils/src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn free(ptr: *mut c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fdisk v0.1.0 (/opt/rustwide/workdir/fdisk) [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling insmod v0.1.0 (/opt/rustwide/workdir/insmod) [INFO] [stderr] Compiling ps v0.1.0 (/opt/rustwide/workdir/ps) [INFO] [stderr] Compiling su v0.1.0 (/opt/rustwide/workdir/su) [INFO] [stderr] Compiling powerctl v0.1.0 (/opt/rustwide/workdir/powerctl) [INFO] [stderr] Compiling rmmod v0.1.0 (/opt/rustwide/workdir/rmmod) [INFO] [stderr] Compiling login v0.1.0 (/opt/rustwide/workdir/login) [INFO] [stderr] Compiling mkfs v0.1.0 (/opt/rustwide/workdir/mkfs) [INFO] [stdout] warning: field `group` is never read [INFO] [stdout] --> su/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Args<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | group: Option<&'s str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FS_STATE_ERROR` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const FS_STATE_ERROR: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_IGNORE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const ERR_ACTION_IGNORE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_KERNEL_PANIC` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const ERR_ACTION_KERNEL_PANIC: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_AFS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const OPTIONAL_FEATURE_AFS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_JOURNAL` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const OPTIONAL_FEATURE_JOURNAL: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_INODE_EXTENDED` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | const OPTIONAL_FEATURE_INODE_EXTENDED: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_RESIZE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const OPTIONAL_FEATURE_RESIZE: u32 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_HASH_INDEX` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const OPTIONAL_FEATURE_HASH_INDEX: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_COMPRESSION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const REQUIRED_FEATURE_COMPRESSION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_DIRECTORY_TYPE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const REQUIRED_FEATURE_DIRECTORY_TYPE: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_REPLAY` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const REQUIRED_FEATURE_JOURNAL_REPLAY: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_DEVIXE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const REQUIRED_FEATURE_JOURNAL_DEVIXE: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_SPARSE_SUPERBLOCKS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const WRITE_REQUIRED_SPARSE_SUPERBLOCKS: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_64_BITS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const WRITE_REQUIRED_64_BITS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_DIRECTORY_BINARY_TREE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const WRITE_REQUIRED_DIRECTORY_BINARY_TREE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> fdisk/src/main.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | fn print_help(prog: &str, script: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> fdisk/src/disk.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Disk { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "ce567757063cfff8a56808428ecc2e8fada5c2e0086ca7e8fe639483c981ff88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce567757063cfff8a56808428ecc2e8fada5c2e0086ca7e8fe639483c981ff88", kill_on_drop: false }` [INFO] [stdout] ce567757063cfff8a56808428ecc2e8fada5c2e0086ca7e8fe639483c981ff88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc357cb6bb4fc31ad1cc2692338650fe5190eca00ea79d304872ba282b7a8288 [INFO] running `Command { std: "docker" "start" "-a" "fc357cb6bb4fc31ad1cc2692338650fe5190eca00ea79d304872ba282b7a8288", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Compiling usrgrp v0.1.0 (/opt/rustwide/workdir/usrgrp) [INFO] [stderr] Compiling umount v0.1.0 (/opt/rustwide/workdir/umount) [INFO] [stderr] Compiling nologin v0.1.0 (/opt/rustwide/workdir/nologin) [INFO] [stderr] Compiling lsmod v0.1.0 (/opt/rustwide/workdir/lsmod) [INFO] [stderr] Compiling dmesg v0.1.0 (/opt/rustwide/workdir/dmesg) [INFO] [stderr] Compiling mount v0.1.0 (/opt/rustwide/workdir/mount) [INFO] [stdout] warning: constant `KMSG_PATH` is never used [INFO] [stdout] --> dmesg/src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const KMSG_PATH: &str = "/dev/kmsg"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RDONLY` is never used [INFO] [stdout] --> mount/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MS_RDONLY: c_ulong = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSUID` is never used [INFO] [stdout] --> mount/src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MS_NOSUID: c_ulong = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODEV` is never used [INFO] [stdout] --> mount/src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const MS_NODEV: c_ulong = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOEXEC` is never used [INFO] [stdout] --> mount/src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MS_NOEXEC: c_ulong = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SYNCHRONOUS` is never used [INFO] [stdout] --> mount/src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MS_SYNCHRONOUS: c_ulong = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MS_REMOUNT: c_ulong = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MANDLOCK` is never used [INFO] [stdout] --> mount/src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const MS_MANDLOCK: c_ulong = 64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_DIRSYNC` is never used [INFO] [stdout] --> mount/src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const MS_DIRSYNC: c_ulong = 128; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOATIME` is never used [INFO] [stdout] --> mount/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const MS_NOATIME: c_ulong = 1024; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NODIRATIME` is never used [INFO] [stdout] --> mount/src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const MS_NODIRATIME: c_ulong = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BIND` is never used [INFO] [stdout] --> mount/src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const MS_BIND: c_ulong = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MOVE` is never used [INFO] [stdout] --> mount/src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const MS_MOVE: c_ulong = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_REC` is never used [INFO] [stdout] --> mount/src/main.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const MS_REC: c_ulong = 16384; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SILENT` is never used [INFO] [stdout] --> mount/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const MS_SILENT: c_ulong = 32768; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_POSIXACL` is never used [INFO] [stdout] --> mount/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MS_POSIXACL: c_ulong = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_UNBINDABLE` is never used [INFO] [stdout] --> mount/src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const MS_UNBINDABLE: c_ulong = 1 << 17; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_PRIVATE` is never used [INFO] [stdout] --> mount/src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const MS_PRIVATE: c_ulong = 1 << 18; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SLAVE` is never used [INFO] [stdout] --> mount/src/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const MS_SLAVE: c_ulong = 1 << 19; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_SHARED` is never used [INFO] [stdout] --> mount/src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const MS_SHARED: c_ulong = 1 << 20; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_RELATIME` is never used [INFO] [stdout] --> mount/src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const MS_RELATIME: c_ulong = 1 << 21; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_KERNMOUNT` is never used [INFO] [stdout] --> mount/src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const MS_KERNMOUNT: c_ulong = 1 << 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_I_VERSION` is never used [INFO] [stdout] --> mount/src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const MS_I_VERSION: c_ulong = 1 << 23; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_STRICTATIME` is never used [INFO] [stdout] --> mount/src/main.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | const MS_STRICTATIME: c_ulong = 1 << 24; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_LAZYTIME` is never used [INFO] [stdout] --> mount/src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const MS_LAZYTIME: c_ulong = 1 << 25; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOREMOTELOCK` is never used [INFO] [stdout] --> mount/src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const MS_NOREMOTELOCK: c_ulong = 1 << 27; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOSEC` is never used [INFO] [stdout] --> mount/src/main.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const MS_NOSEC: c_ulong = 1 << 28; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_BORN` is never used [INFO] [stdout] --> mount/src/main.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const MS_BORN: c_ulong = 1 << 29; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_ACTIVE` is never used [INFO] [stdout] --> mount/src/main.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const MS_ACTIVE: c_ulong = 1 << 30; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_NOUSER` is never used [INFO] [stdout] --> mount/src/main.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const MS_NOUSER: c_ulong = 1 << 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_VAL` is never used [INFO] [stdout] --> mount/src/main.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const MS_MGC_VAL: c_ulong = 0xc0ed0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS_MGC_MSK` is never used [INFO] [stdout] --> mount/src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | const MS_MGC_MSK: c_ulong = 0xffff0000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> utils/src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> utils/src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> utils/src/user.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_password(pass: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> utils/src/user.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_password(pass: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> utils/src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn free(ptr: *mut c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> utils/src/user.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn free(ptr: *mut c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fdisk v0.1.0 (/opt/rustwide/workdir/fdisk) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rmmod v0.1.0 (/opt/rustwide/workdir/rmmod) [INFO] [stderr] Compiling su v0.1.0 (/opt/rustwide/workdir/su) [INFO] [stderr] Compiling powerctl v0.1.0 (/opt/rustwide/workdir/powerctl) [INFO] [stderr] Compiling login v0.1.0 (/opt/rustwide/workdir/login) [INFO] [stderr] Compiling mkfs v0.1.0 (/opt/rustwide/workdir/mkfs) [INFO] [stderr] Compiling insmod v0.1.0 (/opt/rustwide/workdir/insmod) [INFO] [stderr] Compiling ps v0.1.0 (/opt/rustwide/workdir/ps) [INFO] [stdout] warning: field `group` is never read [INFO] [stdout] --> su/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Args<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | group: Option<&'s str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FS_STATE_ERROR` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const FS_STATE_ERROR: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_IGNORE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const ERR_ACTION_IGNORE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_ACTION_KERNEL_PANIC` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const ERR_ACTION_KERNEL_PANIC: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const OPTIONAL_FEATURE_DIRECTORY_PREALLOCATION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_AFS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const OPTIONAL_FEATURE_AFS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_JOURNAL` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const OPTIONAL_FEATURE_JOURNAL: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_INODE_EXTENDED` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | const OPTIONAL_FEATURE_INODE_EXTENDED: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_RESIZE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const OPTIONAL_FEATURE_RESIZE: u32 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPTIONAL_FEATURE_HASH_INDEX` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const OPTIONAL_FEATURE_HASH_INDEX: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_COMPRESSION` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const REQUIRED_FEATURE_COMPRESSION: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_DIRECTORY_TYPE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const REQUIRED_FEATURE_DIRECTORY_TYPE: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_REPLAY` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const REQUIRED_FEATURE_JOURNAL_REPLAY: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUIRED_FEATURE_JOURNAL_DEVIXE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const REQUIRED_FEATURE_JOURNAL_DEVIXE: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_SPARSE_SUPERBLOCKS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const WRITE_REQUIRED_SPARSE_SUPERBLOCKS: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_64_BITS` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const WRITE_REQUIRED_64_BITS: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE_REQUIRED_DIRECTORY_BINARY_TREE` is never used [INFO] [stdout] --> mkfs/src/ext2.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const WRITE_REQUIRED_DIRECTORY_BINARY_TREE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partition_number` [INFO] [stdout] --> fdisk/src/partition.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | let partition_number = prompt(Some(&prompt_str), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partition_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sectors_count` [INFO] [stdout] --> fdisk/src/partition.rs:973:40 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn read(&self, dev: &mut File, sectors_count: u64) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> fdisk/src/main.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | fn print_help(prog: &str, script: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> fdisk/src/disk.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Disk { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "fc357cb6bb4fc31ad1cc2692338650fe5190eca00ea79d304872ba282b7a8288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc357cb6bb4fc31ad1cc2692338650fe5190eca00ea79d304872ba282b7a8288", kill_on_drop: false }` [INFO] [stdout] fc357cb6bb4fc31ad1cc2692338650fe5190eca00ea79d304872ba282b7a8288