[INFO] cloning repository https://github.com/travbid/tag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/travbid/tag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravbid%2Ftag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravbid%2Ftag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60bba86a21d6a49f0992ea3a2b16b98f31d509af [INFO] checking travbid/tag against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravbid%2Ftag" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/travbid/tag on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/travbid/tag [INFO] finished tweaking git repo https://github.com/travbid/tag [INFO] tweaked toml for git repo https://github.com/travbid/tag written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/travbid/tag 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" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking travbid/tag against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravbid%2Ftag" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/travbid/tag on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/travbid/tag [INFO] finished tweaking git repo https://github.com/travbid/tag [INFO] tweaked toml for git repo https://github.com/travbid/tag written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/travbid/tag 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" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking travbid/tag against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravbid%2Ftag" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/travbid/tag on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/travbid/tag [INFO] finished tweaking git repo https://github.com/travbid/tag [INFO] tweaked toml for git repo https://github.com/travbid/tag written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/travbid/tag 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" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49a9fc1fe12043019a984631609a3402af6b666103cbc6152549c13369c53242 [INFO] running `Command { std: "docker" "start" "-a" "49a9fc1fe12043019a984631609a3402af6b666103cbc6152549c13369c53242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49a9fc1fe12043019a984631609a3402af6b666103cbc6152549c13369c53242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a9fc1fe12043019a984631609a3402af6b666103cbc6152549c13369c53242", kill_on_drop: false }` [INFO] [stdout] 49a9fc1fe12043019a984631609a3402af6b666103cbc6152549c13369c53242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29a2dee3a0260119ee3fcaa8c60ac5286c1d800853da46371df72e3b2412f8f8 [INFO] running `Command { std: "docker" "start" "-a" "29a2dee3a0260119ee3fcaa8c60ac5286c1d800853da46371df72e3b2412f8f8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mp4.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 155 | let child = match name { [INFO] [stdout] | _________________________- [INFO] [stdout] 156 | | _ => panic!("Undhandled type in mvex: {}, {:?}", name, &data[4..8]), [INFO] [stdout] 157 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 158 | children.push(child); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mp4.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 155 | let child = match name { [INFO] [stdout] | _________________________- [INFO] [stdout] 156 | | _ => panic!("Undhandled type in mvex: {}, {:?}", name, &data[4..8]), [INFO] [stdout] 157 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 158 | children.push(child); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_data` [INFO] [stdout] --> src/mp4.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | let inner_data = &data[8..inner_sz as usize]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/mp4.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | let child = match name { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_data` [INFO] [stdout] --> src/mp4.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | let inner_data = &data[8..inner_sz as usize]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/mp4.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | let child = match name { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mp4.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | let mut children = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mp4.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | let mut ix: usize = 16; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mp4.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | let mut children = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mp4.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | let mut ix: usize = 16; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mp4.rs:1203:24 [INFO] [stdout] | [INFO] [stdout] 1203 | pub fn parse(sz: u32, data: &[u8]) -> FreeSpaceBox { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1234:25 [INFO] [stdout] | [INFO] [stdout] 1234 | FileAtom::MediaData(x) => String::new(), //&x.string(depth + 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1235:20 [INFO] [stdout] | [INFO] [stdout] 1235 | FileAtom::Meta(x) => String::new(), //&x.string(depth + 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1236:25 [INFO] [stdout] | [INFO] [stdout] 1236 | FileAtom::FreeSpace(x) => String::new(), //&x.string(depth + 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mp4.rs:1203:24 [INFO] [stdout] | [INFO] [stdout] 1203 | pub fn parse(sz: u32, data: &[u8]) -> FreeSpaceBox { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1255:22 [INFO] [stdout] | [INFO] [stdout] 1255 | MovieAtom::Track(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1256:25 [INFO] [stdout] | [INFO] [stdout] 1256 | MovieAtom::UserData(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1257:29 [INFO] [stdout] | [INFO] [stdout] 1257 | MovieAtom::MovieExtends(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1234:25 [INFO] [stdout] | [INFO] [stdout] 1234 | FileAtom::MediaData(x) => String::new(), //&x.string(depth + 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1258:21 [INFO] [stdout] | [INFO] [stdout] 1258 | MovieAtom::Meta(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1235:20 [INFO] [stdout] | [INFO] [stdout] 1235 | FileAtom::Meta(x) => String::new(), //&x.string(depth + 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1236:25 [INFO] [stdout] | [INFO] [stdout] 1236 | FileAtom::FreeSpace(x) => String::new(), //&x.string(depth + 1), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1255:22 [INFO] [stdout] | [INFO] [stdout] 1255 | MovieAtom::Track(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1256:25 [INFO] [stdout] | [INFO] [stdout] 1256 | MovieAtom::UserData(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1257:29 [INFO] [stdout] | [INFO] [stdout] 1257 | MovieAtom::MovieExtends(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mp4.rs:1258:21 [INFO] [stdout] | [INFO] [stdout] 1258 | MovieAtom::Meta(x) => String::new(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBox` is never constructed [INFO] [stdout] --> src/itunes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct DataBox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaItemsBox` is never constructed [INFO] [stdout] --> src/itunes.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct MetaItemsBox { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaItemBox` is never constructed [INFO] [stdout] --> src/itunes.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MetaItemBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeIndicator` is never constructed [INFO] [stdout] --> src/itunes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct TypeIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved1` and `reserved2` are never read [INFO] [stdout] --> src/mp4.rs:182:2 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct MovieHeaderBox { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 182 | reserved1: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | reserved2: [u32; 2], // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBox` is never constructed [INFO] [stdout] --> src/itunes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct DataBox { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved1`, `reserved2`, and `reserved3` are never read [INFO] [stdout] --> src/mp4.rs:311:2 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct TrackHeaderBox { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 311 | reserved1: u32, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | reserved2: [u32; 2], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | reserved3: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaItemsBox` is never constructed [INFO] [stdout] --> src/itunes.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct MetaItemsBox { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved` is never read [INFO] [stdout] --> src/mp4.rs:566:2 [INFO] [stdout] | [INFO] [stdout] 563 | pub struct SoundMediaHeaderBox { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 566 | reserved: u16, // = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaItemBox` is never constructed [INFO] [stdout] --> src/itunes.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MetaItemBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved` is never read [INFO] [stdout] --> src/mp4.rs:831:2 [INFO] [stdout] | [INFO] [stdout] 827 | pub struct SampleEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 831 | reserved: [u8; 6], // = 0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeIndicator` is never constructed [INFO] [stdout] --> src/itunes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct TypeIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved1` and `reserved2` are never read [INFO] [stdout] --> src/mp4.rs:182:2 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct MovieHeaderBox { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 182 | reserved1: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | reserved2: [u32; 2], // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved1`, `reserved2`, and `reserved3` are never read [INFO] [stdout] --> src/mp4.rs:311:2 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct TrackHeaderBox { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 311 | reserved1: u32, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | reserved2: [u32; 2], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | reserved3: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mp4.rs:865:2 [INFO] [stdout] | [INFO] [stdout] 862 | pub struct VisualSampleEntry { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 865 | pre_defined1: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 866 | reserved1: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 867 | pre_defined2: [u32; 3], // = 0 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | horizresolution: u32, // = 0x00480000; // 72 dpi [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 871 | vertresolution: u32, // = 0x00480000; // 72 dpi [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 872 | reserved2: u32, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 873 | frame_count: u16, // = 1 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 874 | pub compressor_name: [u8; 32], [INFO] [stdout] 875 | depth: u16, // 0x0018, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 876 | pre_defined3: i16, // = -1 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved` is never read [INFO] [stdout] --> src/mp4.rs:566:2 [INFO] [stdout] | [INFO] [stdout] 563 | pub struct SoundMediaHeaderBox { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 566 | reserved: u16, // = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved1`, `pre_defined`, and `reserved2` are never read [INFO] [stdout] --> src/mp4.rs:927:2 [INFO] [stdout] | [INFO] [stdout] 924 | pub struct AudioSampleEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 927 | reserved1: [u32; 2], // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | pre_defined: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 932 | reserved2: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reserved` is never read [INFO] [stdout] --> src/mp4.rs:831:2 [INFO] [stdout] | [INFO] [stdout] 827 | pub struct SampleEntry { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 831 | reserved: [u8; 6], // = 0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mp4.rs:865:2 [INFO] [stdout] | [INFO] [stdout] 862 | pub struct VisualSampleEntry { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 865 | pre_defined1: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 866 | reserved1: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 867 | pre_defined2: [u32; 3], // = 0 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | horizresolution: u32, // = 0x00480000; // 72 dpi [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 871 | vertresolution: u32, // = 0x00480000; // 72 dpi [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 872 | reserved2: u32, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 873 | frame_count: u16, // = 1 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 874 | pub compressor_name: [u8; 32], [INFO] [stdout] 875 | depth: u16, // 0x0018, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 876 | pre_defined3: i16, // = -1 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved1`, `pre_defined`, and `reserved2` are never read [INFO] [stdout] --> src/mp4.rs:927:2 [INFO] [stdout] | [INFO] [stdout] 924 | pub struct AudioSampleEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 927 | reserved1: [u32; 2], // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | pre_defined: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 932 | reserved2: u16, // = 0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/bin/read_comment.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `getopts` is imported redundantly [INFO] [stdout] --> src/bin/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use getopts; [INFO] [stdout] | ^^^^^^^ the item `getopts` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/bin/read_comment.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, string::String}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `getopts` is imported redundantly [INFO] [stdout] --> src/bin/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use getopts; [INFO] [stdout] | ^^^^^^^ the item `getopts` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bin/tag.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bin/tag.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | encoding: if item.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 379 | encoding: if item.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | encoding: if item.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 379 | encoding: if item.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:442:37 [INFO] [stdout] | [INFO] [stdout] 442 | encoding: if artist.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 442 | encoding: if artist.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:442:37 [INFO] [stdout] | [INFO] [stdout] 442 | encoding: if artist.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 442 | encoding: if artist.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:450:37 [INFO] [stdout] | [INFO] [stdout] 450 | encoding: if artist.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 450 | encoding: if artist.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:450:37 [INFO] [stdout] | [INFO] [stdout] 450 | encoding: if artist.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 450 | encoding: if artist.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:484:35 [INFO] [stdout] | [INFO] [stdout] 484 | encoding: if item.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 484 | encoding: if item.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:484:35 [INFO] [stdout] | [INFO] [stdout] 484 | encoding: if item.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 484 | encoding: if item.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | encoding: if comment.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 515 | encoding: if comment.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | encoding: if comment.chars().all(char::is_ascii) { 0 } else { 3 }, [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 515 | encoding: if comment.chars().all(|arg0: char| char::is_ascii(&arg0)) { 0 } else { 3 }, [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:538:39 [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(char::is_ascii) && content_desc.chars().all(char::is_ascii) { [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(|arg0: char| char::is_ascii(&arg0)) && content_desc.chars().all(char::is_ascii) { [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:538:39 [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(char::is_ascii) && content_desc.chars().all(char::is_ascii) { [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(|arg0: char| char::is_ascii(&arg0)) && content_desc.chars().all(char::is_ascii) { [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:538:83 [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(char::is_ascii) && content_desc.chars().all(char::is_ascii) { [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(char::is_ascii) && content_desc.chars().all(|arg0: char| char::is_ascii(&arg0)) { [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/tag.rs:538:83 [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(char::is_ascii) && content_desc.chars().all(char::is_ascii) { [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(_) -> _` [INFO] [stdout] found function signature `fn(&_) -> _` [INFO] [stdout] note: required by a bound in `all` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/iter/traits/iterator.rs:2748:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 538 | let encoding = if text.chars().all(char::is_ascii) && content_desc.chars().all(|arg0: char| char::is_ascii(&arg0)) { [INFO] [stdout] | ++++++++++++ +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tag` (bin "tag") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tag` (bin "tag" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "29a2dee3a0260119ee3fcaa8c60ac5286c1d800853da46371df72e3b2412f8f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a2dee3a0260119ee3fcaa8c60ac5286c1d800853da46371df72e3b2412f8f8", kill_on_drop: false }` [INFO] [stdout] 29a2dee3a0260119ee3fcaa8c60ac5286c1d800853da46371df72e3b2412f8f8