[INFO] cloning repository https://github.com/zkxs/neos-session-scanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zkxs/neos-session-scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkxs%2Fneos-session-scanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkxs%2Fneos-session-scanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c8267aa4bcc40e053476db4fef1b903ad68a7eb [INFO] testing zkxs/neos-session-scanner against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkxs%2Fneos-session-scanner" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zkxs/neos-session-scanner [INFO] finished tweaking git repo https://github.com/zkxs/neos-session-scanner [INFO] tweaked toml for git repo https://github.com/zkxs/neos-session-scanner written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zkxs/neos-session-scanner on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zkxs/neos-session-scanner 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded httpdate v1.0.1 [INFO] [stderr] Downloaded tokio-macros v1.5.1 [INFO] [stderr] Downloaded hyper v0.14.14 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ac012c0ecef0e796ade61b7360ee1a2fc4b81c630994bb20f24a115ae71aada [INFO] running `Command { std: "docker" "start" "-a" "9ac012c0ecef0e796ade61b7360ee1a2fc4b81c630994bb20f24a115ae71aada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac012c0ecef0e796ade61b7360ee1a2fc4b81c630994bb20f24a115ae71aada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ac012c0ecef0e796ade61b7360ee1a2fc4b81c630994bb20f24a115ae71aada", kill_on_drop: false }` [INFO] [stdout] 9ac012c0ecef0e796ade61b7360ee1a2fc4b81c630994bb20f24a115ae71aada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07f8b3ba9616b0f17d8f168a0827427ebb5588a9c2bca1f299042e8bf53a506f [INFO] running `Command { std: "docker" "start" "-a" "07f8b3ba9616b0f17d8f168a0827427ebb5588a9c2bca1f299042e8bf53a506f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling neos-session-scanner v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `local_host`, `local_port`, and `short_identifier` are never read [INFO] [stdout] --> src/lnl_protocol/response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NatPunch { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub local_host: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub local_port: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub short_identifier: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NatPunch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response` is never read [INFO] [stdout] --> src/lnl_protocol/response.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NatPunchError { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | pub response: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NatPunchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mystery_number` and `short_identifier` are never read [INFO] [stdout] --> src/lnl_protocol/response.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Connect { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | /// should be 0x01 [INFO] [stdout] 48 | pub mystery_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | /// lowercase, no prefix, exactly matches request [INFO] [stdout] 50 | pub short_identifier: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/lnl_protocol/response.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Unknown { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 63 | pub bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/neos_dto.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub corresponding_world_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub normalized_session_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub host_user_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub host_machine_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub host_username: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub compatibility_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub universe_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub neos_version: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub headless_host: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[serde(rename = "sessionURLs")] [INFO] [stdout] 21 | pub session_urls: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | pub session_users: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub joined_users: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | pub active_users: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | pub max_users: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub mobile_friendly: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | #[serde(with = "crate::custom_serializer::iso_8601")] [INFO] [stdout] 29 | pub session_begin_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(with = "crate::custom_serializer::iso_8601")] [INFO] [stdout] 31 | pub last_update: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | /// actually an Option>. but a bitch to deserialize so fuck it [INFO] [stdout] 33 | pub away_since: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub access_level: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | pub has_ended: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | pub is_valid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `record_id` and `owner_id` are never read [INFO] [stdout] --> src/neos_dto.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 42 | pub record_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | pub owner_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `World` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `user_id`, and `is_present` are never read [INFO] [stdout] --> src/neos_dto.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SessionUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | #[serde(rename = "userID")] [INFO] [stdout] 51 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub is_present: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_type`, `title`, and `trace_id` are never read [INFO] [stdout] --> src/neos_dto.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 58 | #[serde(rename = "type")] [INFO] [stdout] 59 | pub error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | pub status: i32, [INFO] [stdout] 62 | pub trace_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/neos_api.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Session(Session), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Session(Session), [INFO] [stdout] 9 + Session(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.38s [INFO] running `Command { std: "docker" "inspect" "07f8b3ba9616b0f17d8f168a0827427ebb5588a9c2bca1f299042e8bf53a506f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f8b3ba9616b0f17d8f168a0827427ebb5588a9c2bca1f299042e8bf53a506f", kill_on_drop: false }` [INFO] [stdout] 07f8b3ba9616b0f17d8f168a0827427ebb5588a9c2bca1f299042e8bf53a506f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d60e9bc3b65e7387919c6f1162432047c02f49b89cbecfecd261834e7d9c758 [INFO] running `Command { std: "docker" "start" "-a" "0d60e9bc3b65e7387919c6f1162432047c02f49b89cbecfecd261834e7d9c758", kill_on_drop: false }` [INFO] [stderr] Compiling neos-session-scanner v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/lnl_protocol/response.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Unknown { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 63 | pub bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/neos_dto.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub corresponding_world_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub normalized_session_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub host_user_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub host_machine_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub host_username: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub compatibility_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub universe_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub neos_version: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub headless_host: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[serde(rename = "sessionURLs")] [INFO] [stdout] 21 | pub session_urls: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | pub session_users: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub joined_users: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | pub active_users: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | pub max_users: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub mobile_friendly: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | #[serde(with = "crate::custom_serializer::iso_8601")] [INFO] [stdout] 29 | pub session_begin_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(with = "crate::custom_serializer::iso_8601")] [INFO] [stdout] 31 | pub last_update: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | /// actually an Option>. but a bitch to deserialize so fuck it [INFO] [stdout] 33 | pub away_since: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub access_level: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | pub has_ended: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | pub is_valid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `record_id` and `owner_id` are never read [INFO] [stdout] --> src/neos_dto.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 42 | pub record_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | pub owner_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `World` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `user_id`, and `is_present` are never read [INFO] [stdout] --> src/neos_dto.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct SessionUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | #[serde(rename = "userID")] [INFO] [stdout] 51 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub is_present: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_type`, `title`, and `trace_id` are never read [INFO] [stdout] --> src/neos_dto.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 58 | #[serde(rename = "type")] [INFO] [stdout] 59 | pub error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | pub status: i32, [INFO] [stdout] 62 | pub trace_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/neos_api.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Session(Session), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Session(Session), [INFO] [stdout] 9 + Session(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "0d60e9bc3b65e7387919c6f1162432047c02f49b89cbecfecd261834e7d9c758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d60e9bc3b65e7387919c6f1162432047c02f49b89cbecfecd261834e7d9c758", kill_on_drop: false }` [INFO] [stdout] 0d60e9bc3b65e7387919c6f1162432047c02f49b89cbecfecd261834e7d9c758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 595571b2c5f1b5be6ddafa2e61f2d1f0f95d565c5093bb6ef2fb72f259b41609 [INFO] running `Command { std: "docker" "start" "-a" "595571b2c5f1b5be6ddafa2e61f2d1f0f95d565c5093bb6ef2fb72f259b41609", kill_on_drop: false }` [INFO] [stderr] warning: field `bytes` is never read [INFO] [stderr] --> src/lnl_protocol/response.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Unknown { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 63 | pub bytes: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/neos_dto.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Session { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 7 | pub name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | pub description: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 9 | pub corresponding_world_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub tags: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | pub session_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 12 | pub normalized_session_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | pub host_user_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | pub host_machine_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | pub host_username: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 16 | pub compatibility_hash: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | pub universe_id: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 18 | pub neos_version: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 19 | pub headless_host: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 20 | #[serde(rename = "sessionURLs")] [INFO] [stderr] 21 | pub session_urls: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 22 | pub session_users: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 23 | pub thumbnail: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 24 | pub joined_users: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 25 | pub active_users: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 26 | pub max_users: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 27 | pub mobile_friendly: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | #[serde(with = "crate::custom_serializer::iso_8601")] [INFO] [stderr] 29 | pub session_begin_time: DateTime, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 30 | #[serde(with = "crate::custom_serializer::iso_8601")] [INFO] [stderr] 31 | pub last_update: DateTime, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 32 | /// actually an Option>. but a bitch to deserialize so fuck it [INFO] [stderr] 33 | pub away_since: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 34 | pub access_level: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 35 | pub has_ended: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 36 | pub is_valid: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `record_id` and `owner_id` are never read [INFO] [stderr] --> src/neos_dto.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct World { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 42 | pub record_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 43 | pub owner_id: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `World` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `username`, `user_id`, and `is_present` are never read [INFO] [stderr] --> src/neos_dto.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct SessionUser { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 49 | pub username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 50 | #[serde(rename = "userID")] [INFO] [stderr] 51 | pub user_id: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 52 | pub is_present: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SessionUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `error_type`, `title`, and `trace_id` are never read [INFO] [stderr] --> src/neos_dto.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct ErrorResponse { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 58 | #[serde(rename = "type")] [INFO] [stderr] 59 | pub error_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 60 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 61 | pub status: i32, [INFO] [stderr] 62 | pub trace_id: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/neos_api.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | Session(Session), [INFO] [stderr] | ------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SessionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - Session(Session), [INFO] [stderr] 9 + Session(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `neos-session-scanner` (bin "neos-session-scanner" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/neos_session_scanner-ba29592596ec7f9c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test lnl_protocol::response::tests::test_deserialize_nat_punch ... ok [INFO] [stdout] test lnl_protocol::response::tests::test_deserialize_nat_punch_error ... ok [INFO] [stdout] test lnl_protocol::request::tests::test_serialize_connect ... ok [INFO] [stdout] test lnl_protocol::request::tests::test_serialize_nat_punch ... ok [INFO] [stdout] test lnl_protocol::response::tests::test_deserialize_connect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "595571b2c5f1b5be6ddafa2e61f2d1f0f95d565c5093bb6ef2fb72f259b41609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595571b2c5f1b5be6ddafa2e61f2d1f0f95d565c5093bb6ef2fb72f259b41609", kill_on_drop: false }` [INFO] [stdout] 595571b2c5f1b5be6ddafa2e61f2d1f0f95d565c5093bb6ef2fb72f259b41609