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