[INFO] fetching crate bioutils 0.2.4... [INFO] testing bioutils-0.2.4 against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] extracting crate bioutils 0.2.4 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate bioutils 0.2.4 on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "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-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "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-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 774dd51a5b2352b5aa9a801144de366ae3dfc51aafbd7527841c5a24d3bab315 [INFO] running `Command { std: "docker" "start" "-a" "774dd51a5b2352b5aa9a801144de366ae3dfc51aafbd7527841c5a24d3bab315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "774dd51a5b2352b5aa9a801144de366ae3dfc51aafbd7527841c5a24d3bab315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774dd51a5b2352b5aa9a801144de366ae3dfc51aafbd7527841c5a24d3bab315", kill_on_drop: false }` [INFO] [stdout] 774dd51a5b2352b5aa9a801144de366ae3dfc51aafbd7527841c5a24d3bab315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a56d07e2b61623baf8f5b6a83d08b361122d56362a4a3027b6da3c17f1cb871 [INFO] running `Command { std: "docker" "start" "-a" "1a56d07e2b61623baf8f5b6a83d08b361122d56362a4a3027b6da3c17f1cb871", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling cfb v0.4.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling infer v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libz-sys v1.1.6 [INFO] [stderr] Compiling curl-sys v0.4.54+curl-7.83.0 [INFO] [stderr] Compiling cdivsufsort v2.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sacabase v2.0.0 [INFO] [stderr] Compiling suffix_array v0.5.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling seq_io v0.3.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling 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 19.60s [INFO] running `Command { std: "docker" "inspect" "1a56d07e2b61623baf8f5b6a83d08b361122d56362a4a3027b6da3c17f1cb871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a56d07e2b61623baf8f5b6a83d08b361122d56362a4a3027b6da3c17f1cb871", kill_on_drop: false }` [INFO] [stdout] 1a56d07e2b61623baf8f5b6a83d08b361122d56362a4a3027b6da3c17f1cb871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce3c3eca77ba298765957d70ace84cf0e84f6574f66a5dd1fffe384f4df3b385 [INFO] running `Command { std: "docker" "start" "-a" "ce3c3eca77ba298765957d70ace84cf0e84f6574f66a5dd1fffe384f4df3b385", kill_on_drop: false }` [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] [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 2.93s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bioutils-ebde8ebb654b4ecf) [INFO] running `Command { std: "docker" "inspect" "ce3c3eca77ba298765957d70ace84cf0e84f6574f66a5dd1fffe384f4df3b385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce3c3eca77ba298765957d70ace84cf0e84f6574f66a5dd1fffe384f4df3b385", kill_on_drop: false }` [INFO] [stdout] ce3c3eca77ba298765957d70ace84cf0e84f6574f66a5dd1fffe384f4df3b385 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2bb1b22ff42a6fda5e3b6acfd380ac48558c932728dd5682cf3d530669938221 [INFO] running `Command { std: "docker" "start" "-a" "2bb1b22ff42a6fda5e3b6acfd380ac48558c932728dd5682cf3d530669938221", kill_on_drop: false }` [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.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bioutils-ebde8ebb654b4ecf) [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.02s [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/replace.rs - utils::replace (line 4) ... ok [INFO] [stdout] test src/utils/check.rs - utils::check (line 3) ... ok [INFO] [stdout] test src/utils/recode.rs - utils::recode (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.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2bb1b22ff42a6fda5e3b6acfd380ac48558c932728dd5682cf3d530669938221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb1b22ff42a6fda5e3b6acfd380ac48558c932728dd5682cf3d530669938221", kill_on_drop: false }` [INFO] [stdout] 2bb1b22ff42a6fda5e3b6acfd380ac48558c932728dd5682cf3d530669938221