[INFO] fetching crate bioutils 0.2.4... [INFO] testing bioutils-0.2.4 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate bioutils 0.2.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate bioutils 0.2.4 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded memmem v0.1.1 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded ftp v3.0.1 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded curl v0.4.40 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded infer v0.5.0 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded libz-sys v1.1.3 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded suffix_array v0.5.0 [INFO] [stderr] Downloaded curl-sys v0.4.50+curl-7.79.1 [INFO] [stderr] Downloaded sacabase v2.0.0 [INFO] [stderr] Downloaded seq_io v0.3.1 [INFO] [stderr] Downloaded cdivsufsort v2.0.0 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded cfb v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5249c66ab8beb71877417701e7c1e967e308585b627faa5119cf10e8875efa0 [INFO] running `Command { std: "docker" "start" "-a" "e5249c66ab8beb71877417701e7c1e967e308585b627faa5119cf10e8875efa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5249c66ab8beb71877417701e7c1e967e308585b627faa5119cf10e8875efa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5249c66ab8beb71877417701e7c1e967e308585b627faa5119cf10e8875efa0", kill_on_drop: false }` [INFO] [stdout] e5249c66ab8beb71877417701e7c1e967e308585b627faa5119cf10e8875efa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bc0b87753188ed9941e8adff6d2aff38e376fcc175456dcc283f8310e121dc4 [INFO] running `Command { std: "docker" "start" "-a" "0bc0b87753188ed9941e8adff6d2aff38e376fcc175456dcc283f8310e121dc4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling curl v0.4.40 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling cdivsufsort v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.50+curl-7.79.1 [INFO] [stderr] Compiling cfb v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling infer v0.5.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling sacabase v2.0.0 [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 url v2.2.2 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling seq_io v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [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 22.80s [INFO] running `Command { std: "docker" "inspect" "0bc0b87753188ed9941e8adff6d2aff38e376fcc175456dcc283f8310e121dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc0b87753188ed9941e8adff6d2aff38e376fcc175456dcc283f8310e121dc4", kill_on_drop: false }` [INFO] [stdout] 0bc0b87753188ed9941e8adff6d2aff38e376fcc175456dcc283f8310e121dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 138a955c77a21900e84b6b3ce6c063098675f6ecd1978e83701111dac289456d [INFO] running `Command { std: "docker" "start" "-a" "138a955c77a21900e84b6b3ce6c063098675f6ecd1978e83701111dac289456d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | charset.value().choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | vec.into_iter().collect::>>().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/utils/new.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | charset.choose(&mut rng).copied().ok_or(bail!("Cannot create new random")) [INFO] [stdout] | ^^^^^ --------------------------------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/count.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | _ => bail!("Comparison error"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PERCENT_MIN_U8: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | if (&mut PERCENT_MIN_U8..=&mut PERCENT_MAX_U8).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PERCENT_MAX_U8: u8 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PERCENT_MIN_U64: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | if (&mut PERCENT_MIN_U64..=&mut PERCENT_MAX_U64).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PERCENT_MAX_U64: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/utils/tryfrom.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | if (&mut PERCENT_MIN_USIZE..=&mut PERCENT_MAX_USIZE).contains(&value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/charsets/percent.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PERCENT_MIN_USIZE: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [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.08s [INFO] running `Command { std: "docker" "inspect" "138a955c77a21900e84b6b3ce6c063098675f6ecd1978e83701111dac289456d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138a955c77a21900e84b6b3ce6c063098675f6ecd1978e83701111dac289456d", kill_on_drop: false }` [INFO] [stdout] 138a955c77a21900e84b6b3ce6c063098675f6ecd1978e83701111dac289456d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c8c8f78a62172fafb6c045e8d8e6a29d3dbf7254b62a3244fd5e7aab259aa7d [INFO] running `Command { std: "docker" "start" "-a" "1c8c8f78a62172fafb6c045e8d8e6a29d3dbf7254b62a3244fd5e7aab259aa7d", 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.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bioutils-6d0dec38ff4fac24) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test utils::check::tests::checking_slice ... ok [INFO] [stderr] Doc-tests bioutils [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.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/references/ftp.rs - references::ftp (line 6) ... ok [INFO] [stdout] test src/utils/count.rs - utils::count (line 3) ... ok [INFO] [stdout] test src/files/http.rs - files::http (line 3) ... ok [INFO] [stdout] test src/utils/find.rs - utils::find (line 2) ... ok [INFO] [stdout] test src/utils/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] test src/utils/check.rs - utils::check (line 3) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.74s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c8c8f78a62172fafb6c045e8d8e6a29d3dbf7254b62a3244fd5e7aab259aa7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8c8f78a62172fafb6c045e8d8e6a29d3dbf7254b62a3244fd5e7aab259aa7d", kill_on_drop: false }` [INFO] [stdout] 1c8c8f78a62172fafb6c045e8d8e6a29d3dbf7254b62a3244fd5e7aab259aa7d