[INFO] fetching crate bioutils 0.2.4... [INFO] testing bioutils-0.2.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate bioutils 0.2.4 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate bioutils 0.2.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bioutils 0.2.4 [INFO] finished tweaking crates.io crate bioutils 0.2.4 [INFO] tweaked toml for crates.io crate bioutils 0.2.4 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6832608bbfc0c4fdd26f3e2f50b0db5a38d63153242cc167cb992c1ee5f519e9 [INFO] running `Command { std: "docker" "start" "-a" "6832608bbfc0c4fdd26f3e2f50b0db5a38d63153242cc167cb992c1ee5f519e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6832608bbfc0c4fdd26f3e2f50b0db5a38d63153242cc167cb992c1ee5f519e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6832608bbfc0c4fdd26f3e2f50b0db5a38d63153242cc167cb992c1ee5f519e9", kill_on_drop: false }` [INFO] [stdout] 6832608bbfc0c4fdd26f3e2f50b0db5a38d63153242cc167cb992c1ee5f519e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f254c7bb15c6d3bb17157384e0acb3b6a04a75a535f5439816c4ac1da1fb57 [INFO] running `Command { std: "docker" "start" "-a" "39f254c7bb15c6d3bb17157384e0acb3b6a04a75a535f5439816c4ac1da1fb57", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling curl-sys v0.4.53+curl-7.82.0 [INFO] [stderr] Compiling cdivsufsort v2.0.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling cfb v0.4.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling sacabase v2.0.0 [INFO] [stderr] Compiling infer v0.5.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling suffix_array v0.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling seq_io v0.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [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 bioutils v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | charset.value().choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | charset.choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/count.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | _ => bail!("Comparison error"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PERCENT_MIN_U8: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PERCENT_MAX_U8: u8 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PERCENT_MIN_U64: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PERCENT_MAX_U64: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PERCENT_MIN_USIZE: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PERCENT_MAX_USIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PHRED33_MIN_U8: u8 = 33; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub const PHRED33_MAX_U8: u8 = 75; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub const PHRED64_MIN_U8: u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | pub const PHRED64_MAX_U8: u8 = 126; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.45s [INFO] running `Command { std: "docker" "inspect" "39f254c7bb15c6d3bb17157384e0acb3b6a04a75a535f5439816c4ac1da1fb57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f254c7bb15c6d3bb17157384e0acb3b6a04a75a535f5439816c4ac1da1fb57", kill_on_drop: false }` [INFO] [stdout] 39f254c7bb15c6d3bb17157384e0acb3b6a04a75a535f5439816c4ac1da1fb57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec06100a3af85ef1b2656a74d10764c20977efb39e3d71296f0bd3d9a272363 [INFO] running `Command { std: "docker" "start" "-a" "3ec06100a3af85ef1b2656a74d10764c20977efb39e3d71296f0bd3d9a272363", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | charset.value().choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | charset.choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/count.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | _ => bail!("Comparison error"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PERCENT_MIN_U8: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PERCENT_MAX_U8: u8 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PERCENT_MIN_U64: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PERCENT_MAX_U64: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PERCENT_MIN_USIZE: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PERCENT_MAX_USIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PHRED33_MIN_U8: u8 = 33; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub const PHRED33_MAX_U8: u8 = 75; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub const PHRED64_MIN_U8: u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bioutils v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | pub const PHRED64_MAX_U8: u8 = 126; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | charset.value().choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | charset.choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/count.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | _ => bail!("Comparison error"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PERCENT_MIN_U8: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PERCENT_MAX_U8: u8 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PERCENT_MIN_U64: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PERCENT_MAX_U64: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PERCENT_MIN_USIZE: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PERCENT_MAX_USIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PHRED33_MIN_U8: u8 = 33; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub const PHRED33_MAX_U8: u8 = 75; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub const PHRED64_MIN_U8: u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/quality.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | pub const PHRED64_MAX_U8: u8 = 126; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils/check.rs:335:60 [INFO] [stdout] | [INFO] [stdout] 335 | assert!(test.is_all_charset(BioUtilsCharSet::Dna), true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 335 | assert!(test.is_all_charset(BioUtilsCharSet::Dna), "{}", true); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.17s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bioutils-0717b30c3ccf58e7) [INFO] running `Command { std: "docker" "inspect" "3ec06100a3af85ef1b2656a74d10764c20977efb39e3d71296f0bd3d9a272363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec06100a3af85ef1b2656a74d10764c20977efb39e3d71296f0bd3d9a272363", kill_on_drop: false }` [INFO] [stdout] 3ec06100a3af85ef1b2656a74d10764c20977efb39e3d71296f0bd3d9a272363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d160059078f347f9a666dc6ee1300da51c89e5577c48eb995ea7d8470db57a1 [INFO] running `Command { std: "docker" "start" "-a" "9d160059078f347f9a666dc6ee1300da51c89e5577c48eb995ea7d8470db57a1", 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] [stderr] warning: unreachable call [INFO] [stderr] --> src/utils/new.rs:34:54 [INFO] [stderr] | [INFO] [stderr] 34 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stderr] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/utils/new.rs:39:51 [INFO] [stderr] | [INFO] [stderr] 39 | charset.value().choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stderr] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/utils/new.rs:48:54 [INFO] [stderr] | [INFO] [stderr] 48 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stderr] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/utils/new.rs:53:43 [INFO] [stderr] | [INFO] [stderr] 53 | charset.choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stderr] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/utils/count.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | _ => bail!("Comparison error"), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/percent.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub const PERCENT_MIN_U8: u8 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:35:35 [INFO] [stderr] | [INFO] [stderr] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/percent.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub const PERCENT_MAX_U8: u8 = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/percent.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | pub const PERCENT_MIN_U64: u64 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/percent.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | pub const PERCENT_MAX_U64: u64 = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/percent.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub const PERCENT_MIN_USIZE: usize = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:89:38 [INFO] [stderr] | [INFO] [stderr] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/percent.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub const PERCENT_MAX_USIZE: usize = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/quality.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | pub const PHRED33_MIN_U8: u8 = 33; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:116:35 [INFO] [stderr] | [INFO] [stderr] 116 | if (&mut PHRED33_MIN_U8..=&mut PHRED33_MAX_U8).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/quality.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub const PHRED33_MAX_U8: u8 = 75; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/quality.rs:155:1 [INFO] [stderr] | [INFO] [stderr] 155 | pub const PHRED64_MIN_U8: u8 = 64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/utils/tryfrom.rs:143:35 [INFO] [stderr] | [INFO] [stderr] 143 | if (&mut PHRED64_MIN_U8..=&mut PHRED64_MAX_U8).contains(&value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/charsets/quality.rs:156:1 [INFO] [stderr] | [INFO] [stderr] 156 | pub const PHRED64_MAX_U8: u8 = 126; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/utils/check.rs:335:60 [INFO] [stderr] | [INFO] [stderr] 335 | assert!(test.is_all_charset(BioUtilsCharSet::Dna), true); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 335 | assert!(test.is_all_charset(BioUtilsCharSet::Dna), "{}", true); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `bioutils` (lib) generated 15 warnings [INFO] [stderr] warning: `bioutils` (lib test) generated 16 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bioutils-0717b30c3ccf58e7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test utils::new::tests::test ... ok [INFO] [stdout] test utils::check::tests::checking_slice ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bioutils [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/references/ftp.rs - references::ftp (line 6) ... ok [INFO] [stdout] test src/utils/count.rs - utils::count (line 3) ... ok [INFO] [stdout] test src/files/http.rs - files::http (line 3) ... ok [INFO] [stdout] test src/utils/find.rs - utils::find (line 2) ... ok [INFO] [stdout] test src/utils/replace.rs - utils::replace (line 4) ... ok [INFO] [stdout] test src/utils/recode.rs - utils::recode (line 3) ... ok [INFO] [stdout] test src/utils/check.rs - utils::check (line 3) ... ok [INFO] [stdout] test src/utils/new.rs - utils::new (line 2) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9d160059078f347f9a666dc6ee1300da51c89e5577c48eb995ea7d8470db57a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d160059078f347f9a666dc6ee1300da51c89e5577c48eb995ea7d8470db57a1", kill_on_drop: false }` [INFO] [stdout] 9d160059078f347f9a666dc6ee1300da51c89e5577c48eb995ea7d8470db57a1