[INFO] fetching crate bioutils 0.2.4... [INFO] testing bioutils-0.2.4 against 1.59.0 for beta-1.60-1 [INFO] extracting crate bioutils 0.2.4 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate bioutils 0.2.4 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-19/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ca92635f6833d6fc0b2b35d13cef4e0835a911698555e49e24274e56a4811f [INFO] running `Command { std: "docker" "start" "-a" "04ca92635f6833d6fc0b2b35d13cef4e0835a911698555e49e24274e56a4811f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ca92635f6833d6fc0b2b35d13cef4e0835a911698555e49e24274e56a4811f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ca92635f6833d6fc0b2b35d13cef4e0835a911698555e49e24274e56a4811f", kill_on_drop: false }` [INFO] [stdout] 04ca92635f6833d6fc0b2b35d13cef4e0835a911698555e49e24274e56a4811f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1371627c22d42dc19bb6c30189a0ca154fe21fac02a2b4f9fa23941919c70ee5 [INFO] running `Command { std: "docker" "start" "-a" "1371627c22d42dc19bb6c30189a0ca154fe21fac02a2b4f9fa23941919c70ee5", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling curl-sys v0.4.52+curl-7.81.0 [INFO] [stderr] Compiling cdivsufsort v2.0.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [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 rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling infer v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling sacabase v2.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling suffix_array v0.5.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling seq_io v0.3.1 [INFO] [stderr] Compiling curl v0.4.42 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [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 29.24s [INFO] running `Command { std: "docker" "inspect" "1371627c22d42dc19bb6c30189a0ca154fe21fac02a2b4f9fa23941919c70ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1371627c22d42dc19bb6c30189a0ca154fe21fac02a2b4f9fa23941919c70ee5", kill_on_drop: false }` [INFO] [stdout] 1371627c22d42dc19bb6c30189a0ca154fe21fac02a2b4f9fa23941919c70ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e16f1bccdd82d8111f790fdb06145e74f2a8c02043760144eb535fe5bc0e2377 [INFO] running `Command { std: "docker" "start" "-a" "e16f1bccdd82d8111f790fdb06145e74f2a8c02043760144eb535fe5bc0e2377", kill_on_drop: false }` [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] [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: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] [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 4.13s [INFO] running `Command { std: "docker" "inspect" "e16f1bccdd82d8111f790fdb06145e74f2a8c02043760144eb535fe5bc0e2377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16f1bccdd82d8111f790fdb06145e74f2a8c02043760144eb535fe5bc0e2377", kill_on_drop: false }` [INFO] [stdout] e16f1bccdd82d8111f790fdb06145e74f2a8c02043760144eb535fe5bc0e2377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1792dcdc5143840f2af21946f82f9325944d78dbe696f6a1d256051c9881ac56 [INFO] running `Command { std: "docker" "start" "-a" "1792dcdc5143840f2af21946f82f9325944d78dbe696f6a1d256051c9881ac56", kill_on_drop: false }` [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.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bioutils-35959e728871eacf) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test utils::check::tests::checking_slice ... ok [INFO] [stdout] test utils::new::tests::test ... 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/utils/count.rs - utils::count (line 3) ... ok [INFO] [stdout] test src/references/ftp.rs - references::ftp (line 6) ... 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/check.rs - utils::check (line 3) ... ok [INFO] [stdout] test src/utils/new.rs - utils::new (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] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.87s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1792dcdc5143840f2af21946f82f9325944d78dbe696f6a1d256051c9881ac56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1792dcdc5143840f2af21946f82f9325944d78dbe696f6a1d256051c9881ac56", kill_on_drop: false }` [INFO] [stdout] 1792dcdc5143840f2af21946f82f9325944d78dbe696f6a1d256051c9881ac56