[INFO] cloning repository https://github.com/Fedcomp/xodium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fedcomp/xodium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFedcomp%2Fxodium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFedcomp%2Fxodium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb4107c44cd4d6fe161cd050da07e3da93b77a1f [INFO] testing Fedcomp/xodium against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFedcomp%2Fxodium" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fedcomp/xodium on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Fedcomp/xodium [INFO] finished tweaking git repo https://github.com/Fedcomp/xodium [INFO] tweaked toml for git repo https://github.com/Fedcomp/xodium written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Fedcomp/xodium already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18661a2d2eb263846c58d56e62c93edc4e0648d73cbbb98a62cffcc2c6444dfc [INFO] running `Command { std: "docker" "start" "-a" "18661a2d2eb263846c58d56e62c93edc4e0648d73cbbb98a62cffcc2c6444dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18661a2d2eb263846c58d56e62c93edc4e0648d73cbbb98a62cffcc2c6444dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18661a2d2eb263846c58d56e62c93edc4e0648d73cbbb98a62cffcc2c6444dfc", kill_on_drop: false }` [INFO] [stdout] 18661a2d2eb263846c58d56e62c93edc4e0648d73cbbb98a62cffcc2c6444dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09d8c26e137cf1729b3502bfddf3b081e1d2c7c92c7f454567a7cff5c7e7bdc3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "09d8c26e137cf1729b3502bfddf3b081e1d2c7c92c7f454567a7cff5c7e7bdc3", kill_on_drop: false }` [INFO] [stderr] Compiling xodium v0.0.1 (/opt/rustwide/workdir/xodium) [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> xodium/src/framed.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | stream: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codec` [INFO] [stdout] --> xodium/src/framed.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | codec: C, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `read_buffer` [INFO] [stdout] --> xodium/src/framed.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | read_buffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> xodium/src/framed.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn next(&mut self) -> Result<::Item, ::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_XAUTHORITY_FILE_NAME` [INFO] [stdout] --> xodium/src/xauthority.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const DEFAULT_XAUTHORITY_FILE_NAME: &str = ".Xauthority"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFile` [INFO] [stdout] --> xodium/src/xauthority.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | InvalidFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_sized_string` [INFO] [stdout] --> xodium/src/xauthority.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn read_sized_string(mut reader: R) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entry` [INFO] [stdout] --> xodium/src/xauthority.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn read_entry(mut reader: R) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_reader` [INFO] [stdout] --> xodium/src/xauthority.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn from_reader(mut reader: R) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_default` [INFO] [stdout] --> xodium/src/xauthority.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn read_default() -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> xodium/src/protocol/setup_request.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LocalHost` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | LocalHost = 252, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Krb5Principal` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Krb5Principal = 253, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Netname` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Netname = 254, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Local` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Local = 256, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wild` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Wild = 65535, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_from` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn try_from(raw_family: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_localhost` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_localhost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_krb5principal` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_krb5principal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_netname` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn is_netname(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_local` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_local(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_wild` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_wild(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "09d8c26e137cf1729b3502bfddf3b081e1d2c7c92c7f454567a7cff5c7e7bdc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d8c26e137cf1729b3502bfddf3b081e1d2c7c92c7f454567a7cff5c7e7bdc3", kill_on_drop: false }` [INFO] [stdout] 09d8c26e137cf1729b3502bfddf3b081e1d2c7c92c7f454567a7cff5c7e7bdc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 783e416f99be7dd6a346f94deea37ca3c7c3d24bc1e0fce335b5555c7ef15135 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "783e416f99be7dd6a346f94deea37ca3c7c3d24bc1e0fce335b5555c7ef15135", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> xodium/src/framed.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | stream: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codec` [INFO] [stdout] --> xodium/src/framed.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | codec: C, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `read_buffer` [INFO] [stdout] --> xodium/src/framed.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | read_buffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> xodium/src/framed.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn next(&mut self) -> Result<::Item, ::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_XAUTHORITY_FILE_NAME` [INFO] [stdout] --> xodium/src/xauthority.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const DEFAULT_XAUTHORITY_FILE_NAME: &str = ".Xauthority"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFile` [INFO] [stdout] --> xodium/src/xauthority.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | InvalidFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_sized_string` [INFO] [stdout] --> xodium/src/xauthority.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn read_sized_string(mut reader: R) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_entry` [INFO] [stdout] --> xodium/src/xauthority.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn read_entry(mut reader: R) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_reader` [INFO] [stdout] --> xodium/src/xauthority.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn from_reader(mut reader: R) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_default` [INFO] [stdout] --> xodium/src/xauthority.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn read_default() -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> xodium/src/protocol/setup_request.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LocalHost` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | LocalHost = 252, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xodium v0.0.1 (/opt/rustwide/workdir/xodium) [INFO] [stdout] warning: variant is never constructed: `Krb5Principal` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Krb5Principal = 253, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Netname` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Netname = 254, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Local` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Local = 256, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wild` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Wild = 65535, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_from` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn try_from(raw_family: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_localhost` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_localhost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_krb5principal` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_krb5principal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_netname` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn is_netname(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_local` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_local(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_wild` [INFO] [stdout] --> xodium/src/xauthority/connection_family.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_wild(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.16s [INFO] running `Command { std: "docker" "inspect" "783e416f99be7dd6a346f94deea37ca3c7c3d24bc1e0fce335b5555c7ef15135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783e416f99be7dd6a346f94deea37ca3c7c3d24bc1e0fce335b5555c7ef15135", kill_on_drop: false }` [INFO] [stdout] 783e416f99be7dd6a346f94deea37ca3c7c3d24bc1e0fce335b5555c7ef15135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a52bc3fc5863f9471634090dc0fa9f52d1ac8cda7a729d59a6d7b6172196f30 [INFO] running `Command { std: "docker" "start" "-a" "4a52bc3fc5863f9471634090dc0fa9f52d1ac8cda7a729d59a6d7b6172196f30", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `stream` [INFO] [stderr] --> xodium/src/framed.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | stream: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `codec` [INFO] [stderr] --> xodium/src/framed.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | codec: C, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `read_buffer` [INFO] [stderr] --> xodium/src/framed.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | read_buffer: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> xodium/src/framed.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn next(&mut self) -> Result<::Item, ::Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DEFAULT_XAUTHORITY_FILE_NAME` [INFO] [stderr] --> xodium/src/xauthority.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const DEFAULT_XAUTHORITY_FILE_NAME: &str = ".Xauthority"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidFile` [INFO] [stderr] --> xodium/src/xauthority.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | InvalidFile, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> xodium/src/xauthority.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_sized_string` [INFO] [stderr] --> xodium/src/xauthority.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | fn read_sized_string(mut reader: R) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_entry` [INFO] [stderr] --> xodium/src/xauthority.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | fn read_entry(mut reader: R) -> Result, ParseError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `from_reader` [INFO] [stderr] --> xodium/src/xauthority.rs:80:15 [INFO] [stderr] | [INFO] [stderr] 80 | pub(crate) fn from_reader(mut reader: R) -> Result, ParseError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_default` [INFO] [stderr] --> xodium/src/xauthority.rs:98:15 [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) fn read_default() -> Result, ParseError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> xodium/src/protocol/setup_request.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LocalHost` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | LocalHost = 252, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Krb5Principal` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Krb5Principal = 253, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Netname` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Netname = 254, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Local` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Local = 256, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Wild` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Wild = 65535, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConnectionFamily` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `try_from` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn try_from(raw_family: u16) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_localhost` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn is_localhost(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_krb5principal` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn is_krb5principal(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_netname` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn is_netname(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_local` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn is_local(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_wild` [INFO] [stderr] --> xodium/src/xauthority/connection_family.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn is_wild(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xodium` (lib) generated 22 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xodium-c4d7f8df9c9a0cdb) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test display::tests::test_display_from_str ... ok [INFO] [stdout] test display::tests::test_from_env ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_convert_family_local ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_convert_family_net_name ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_convert_family_wild ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_invalid_connection_family ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_shortcuts ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_convert_family_local_host ... ok [INFO] [stdout] test xauthority::tests::test_read_from_empty_string ... ok [INFO] [stdout] test xauthority::tests::test_read_from_string_eof ... ok [INFO] [stdout] test display::tests::test_default_display ... ok [INFO] [stdout] test xauthority::tests::test_read_from_string_single_entry ... ok [INFO] [stdout] test xauthority::tests::test_read_from_string_multiple_entries ... ok [INFO] [stdout] test xauthority::connection_family::tests::test_convert_family_krb5_principal ... ok [INFO] [stdout] test protocol::setup_request::tests::test_serialize_auth_data ... ok [INFO] [stdout] test framed::tests::test_framed_next ... ok [INFO] [stdout] test protocol::setup_request::tests::test_serialize_empty ... ok [INFO] [stderr] Doc-tests xodium [INFO] [stdout] test xauthority::tests::test_read_default ... ok [INFO] [stdout] test xauthority::tests::test_read_default_no_xauthority_env ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4a52bc3fc5863f9471634090dc0fa9f52d1ac8cda7a729d59a6d7b6172196f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a52bc3fc5863f9471634090dc0fa9f52d1ac8cda7a729d59a6d7b6172196f30", kill_on_drop: false }` [INFO] [stdout] 4a52bc3fc5863f9471634090dc0fa9f52d1ac8cda7a729d59a6d7b6172196f30