[INFO] cloning repository https://github.com/tjhorner/e6dl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tjhorner/e6dl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fe6dl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fe6dl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e886be47024d300e95c3a1f4d5dae03cc3488ac [INFO] testing tjhorner/e6dl-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjhorner%2Fe6dl-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tjhorner/e6dl-rs [INFO] finished tweaking git repo https://github.com/tjhorner/e6dl-rs [INFO] tweaked toml for git repo https://github.com/tjhorner/e6dl-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tjhorner/e6dl-rs 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 git repo https://github.com/tjhorner/e6dl-rs 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 indexmap v1.8.1 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded regex v1.5.6 [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] 45925a9f8e78a6312e00db60df1b27d01d50f1feb6e675716afb3c8164b3908d [INFO] running `Command { std: "docker" "start" "-a" "45925a9f8e78a6312e00db60df1b27d01d50f1feb6e675716afb3c8164b3908d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45925a9f8e78a6312e00db60df1b27d01d50f1feb6e675716afb3c8164b3908d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45925a9f8e78a6312e00db60df1b27d01d50f1feb6e675716afb3c8164b3908d", kill_on_drop: false }` [INFO] [stdout] 45925a9f8e78a6312e00db60df1b27d01d50f1feb6e675716afb3c8164b3908d [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] 478954ba5b56aced152f7175ee84a3880fd389d17e7a136e6c4e3a94074aef49 [INFO] running `Command { std: "docker" "start" "-a" "478954ba5b56aced152f7175ee84a3880fd389d17e7a136e6c4e3a94074aef49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [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 pretty_env_logger v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 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 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 1m 16s [INFO] running `Command { std: "docker" "inspect" "478954ba5b56aced152f7175ee84a3880fd389d17e7a136e6c4e3a94074aef49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478954ba5b56aced152f7175ee84a3880fd389d17e7a136e6c4e3a94074aef49", kill_on_drop: false }` [INFO] [stdout] 478954ba5b56aced152f7175ee84a3880fd389d17e7a136e6c4e3a94074aef49 [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] 99a250aef88fe00aa4794f8184a4989879b430e5b3e7e9fe95bf2170276f3931 [INFO] running `Command { std: "docker" "start" "-a" "99a250aef88fe00aa4794f8184a4989879b430e5b3e7e9fe95bf2170276f3931", 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.03s [INFO] running `Command { std: "docker" "inspect" "99a250aef88fe00aa4794f8184a4989879b430e5b3e7e9fe95bf2170276f3931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a250aef88fe00aa4794f8184a4989879b430e5b3e7e9fe95bf2170276f3931", kill_on_drop: false }` [INFO] [stdout] 99a250aef88fe00aa4794f8184a4989879b430e5b3e7e9fe95bf2170276f3931 [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] d85b09a66dd9a8b109006f6557b82d18d24bd1bfc7a0f9a0c5bdd753dc015340 [INFO] running `Command { std: "docker" "start" "-a" "d85b09a66dd9a8b109006f6557b82d18d24bd1bfc7a0f9a0c5bdd753dc015340", 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.21s [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" "d85b09a66dd9a8b109006f6557b82d18d24bd1bfc7a0f9a0c5bdd753dc015340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85b09a66dd9a8b109006f6557b82d18d24bd1bfc7a0f9a0c5bdd753dc015340", kill_on_drop: false }` [INFO] [stdout] d85b09a66dd9a8b109006f6557b82d18d24bd1bfc7a0f9a0c5bdd753dc015340