[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