[INFO] fetching crate e6dl 0.4.0... [INFO] testing e6dl-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate e6dl 0.4.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate e6dl 0.4.0 [INFO] finished tweaking crates.io crate e6dl 0.4.0 [INFO] tweaked toml for crates.io crate e6dl 0.4.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate e6dl 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate e6dl 0.4.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fee69d7cc3ac09cb1361e845b0d4e0bb8ac1e3e2ec980401d7b455580b521520 [INFO] running `Command { std: "docker" "start" "-a" "fee69d7cc3ac09cb1361e845b0d4e0bb8ac1e3e2ec980401d7b455580b521520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee69d7cc3ac09cb1361e845b0d4e0bb8ac1e3e2ec980401d7b455580b521520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee69d7cc3ac09cb1361e845b0d4e0bb8ac1e3e2ec980401d7b455580b521520", kill_on_drop: false }` [INFO] [stdout] fee69d7cc3ac09cb1361e845b0d4e0bb8ac1e3e2ec980401d7b455580b521520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a04a4ec148ccf68b1c80d7767cc1a31a55d3ac3aa3749e5f49e554e79497ce2f [INFO] running `Command { std: "docker" "start" "-a" "a04a4ec148ccf68b1c80d7767cc1a31a55d3ac3aa3749e5f49e554e79497ce2f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling e6dl v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PostFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub ext: String, [INFO] [stdout] 17 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFile` 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: fields `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PostPreview { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostPreview` 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 `has`, `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PostSample { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub has: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostSample` 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 `up`, `down`, and `total` are never read [INFO] [stdout] --> src/api.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PostScore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | pub up: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub down: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScore` 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 `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stdout] --> src/api.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PostFlags { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 71 | pub pending: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub note_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub status_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub rating_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFlags` 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 `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stdout] --> src/api.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PostRelationships { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 81 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub has_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub has_active_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRelationships` 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/api.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 89 | pub id: u32, [INFO] [stdout] 90 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub preview: PostPreview, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub sample: PostSample, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | pub score: PostScore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub locked_tags: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub change_seq: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub flags: PostFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub rating: PostRating, [INFO] [stdout] 102 | pub fav_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub pools: Vec, [INFO] [stdout] 105 | pub relationships: PostRelationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub approver_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | pub uploader_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 108 | pub comment_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub is_favorited: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub has_notes: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.17s [INFO] running `Command { std: "docker" "inspect" "a04a4ec148ccf68b1c80d7767cc1a31a55d3ac3aa3749e5f49e554e79497ce2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04a4ec148ccf68b1c80d7767cc1a31a55d3ac3aa3749e5f49e554e79497ce2f", kill_on_drop: false }` [INFO] [stdout] a04a4ec148ccf68b1c80d7767cc1a31a55d3ac3aa3749e5f49e554e79497ce2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65a861708c227599cb6604ad967116f9e03688ad3a87bf55499b284ef73f479c [INFO] running `Command { std: "docker" "start" "-a" "65a861708c227599cb6604ad967116f9e03688ad3a87bf55499b284ef73f479c", kill_on_drop: false }` [INFO] [stderr] Compiling e6dl v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stdout] --> src/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PostFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub ext: String, [INFO] [stdout] 17 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub md5: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFile` 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: fields `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PostPreview { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostPreview` 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 `has`, `width`, `height`, and `url` are never read [INFO] [stdout] --> src/api.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct PostSample { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub has: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostSample` 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 `up`, `down`, and `total` are never read [INFO] [stdout] --> src/api.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PostScore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | pub up: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub down: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScore` 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 `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stdout] --> src/api.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct PostFlags { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 71 | pub pending: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub flagged: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub note_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub status_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | pub rating_locked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostFlags` 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 `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stdout] --> src/api.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct PostRelationships { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 81 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub has_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub has_active_children: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRelationships` 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/api.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 89 | pub id: u32, [INFO] [stdout] 90 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub preview: PostPreview, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub sample: PostSample, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | pub score: PostScore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub locked_tags: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub change_seq: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub flags: PostFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub rating: PostRating, [INFO] [stdout] 102 | pub fav_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | pub sources: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub pools: Vec, [INFO] [stdout] 105 | pub relationships: PostRelationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub approver_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | pub uploader_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 108 | pub comment_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub is_favorited: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 110 | pub has_notes: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "65a861708c227599cb6604ad967116f9e03688ad3a87bf55499b284ef73f479c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a861708c227599cb6604ad967116f9e03688ad3a87bf55499b284ef73f479c", kill_on_drop: false }` [INFO] [stdout] 65a861708c227599cb6604ad967116f9e03688ad3a87bf55499b284ef73f479c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f05c4b77674b5e80719ebbce9634ab5c9e920eb24a7ed8f1197bb7f4edbeec18 [INFO] running `Command { std: "docker" "start" "-a" "f05c4b77674b5e80719ebbce9634ab5c9e920eb24a7ed8f1197bb7f4edbeec18", kill_on_drop: false }` [INFO] [stderr] warning: fields `width`, `height`, `size`, and `md5` are never read [INFO] [stderr] --> src/api.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct PostFile { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 14 | pub width: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | pub height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | pub ext: String, [INFO] [stderr] 17 | pub size: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | pub md5: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostFile` 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: fields `width`, `height`, and `url` are never read [INFO] [stderr] --> src/api.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct PostPreview { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 24 | pub width: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 25 | pub height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | pub url: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostPreview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `has`, `width`, `height`, and `url` are never read [INFO] [stderr] --> src/api.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct PostSample { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 31 | pub has: bool, [INFO] [stderr] | ^^^ [INFO] [stderr] 32 | pub width: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 33 | pub height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 34 | pub url: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostSample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `up`, `down`, and `total` are never read [INFO] [stderr] --> src/api.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct PostScore { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 39 | pub up: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 40 | pub down: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 41 | pub total: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `pending`, `flagged`, `note_locked`, `status_locked`, `rating_locked`, and `deleted` are never read [INFO] [stderr] --> src/api.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct PostFlags { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 71 | pub pending: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 72 | pub flagged: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 73 | pub note_locked: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 74 | pub status_locked: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 75 | pub rating_locked: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 76 | pub deleted: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `parent_id`, `has_children`, `has_active_children`, and `children` are never read [INFO] [stderr] --> src/api.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct PostRelationships { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 81 | pub parent_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 82 | pub has_children: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 83 | pub has_active_children: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 84 | pub children: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostRelationships` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/api.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 88 | pub struct Post { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 89 | pub id: u32, [INFO] [stderr] 90 | pub description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 91 | pub created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 92 | pub updated_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub preview: PostPreview, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 96 | pub sample: PostSample, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 97 | pub score: PostScore, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 98 | pub locked_tags: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 99 | pub change_seq: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 100 | pub flags: PostFlags, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 101 | pub rating: PostRating, [INFO] [stderr] 102 | pub fav_count: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 103 | pub sources: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 104 | pub pools: Vec, [INFO] [stderr] 105 | pub relationships: PostRelationships, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 106 | pub approver_id: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 107 | pub uploader_id: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 108 | pub comment_count: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 109 | pub is_favorited: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 110 | pub has_notes: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 111 | pub duration: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `e6dl` (bin "e6dl" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/e6dl-9149e7b6a11873b8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f05c4b77674b5e80719ebbce9634ab5c9e920eb24a7ed8f1197bb7f4edbeec18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05c4b77674b5e80719ebbce9634ab5c9e920eb24a7ed8f1197bb7f4edbeec18", kill_on_drop: false }` [INFO] [stdout] f05c4b77674b5e80719ebbce9634ab5c9e920eb24a7ed8f1197bb7f4edbeec18