[INFO] cloning repository https://github.com/Lars-JPR/hcp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lars-JPR/hcp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLars-JPR%2Fhcp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLars-JPR%2Fhcp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0506bd06ecfd460bde02771a65c85233541986e [INFO] checking Lars-JPR/hcp-rs/d0506bd06ecfd460bde02771a65c85233541986e against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLars-JPR%2Fhcp-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lars-JPR/hcp-rs on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lars-JPR/hcp-rs [INFO] finished tweaking git repo https://github.com/Lars-JPR/hcp-rs [INFO] tweaked toml for git repo https://github.com/Lars-JPR/hcp-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lars-JPR/hcp-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24bf3a3b274fa9b4b6b8914e6300d090dfa4cda282609ad8739f2f81132bc8ad [INFO] running `Command { std: "docker" "start" "-a" "24bf3a3b274fa9b4b6b8914e6300d090dfa4cda282609ad8739f2f81132bc8ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24bf3a3b274fa9b4b6b8914e6300d090dfa4cda282609ad8739f2f81132bc8ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24bf3a3b274fa9b4b6b8914e6300d090dfa4cda282609ad8739f2f81132bc8ad", kill_on_drop: false }` [INFO] [stdout] 24bf3a3b274fa9b4b6b8914e6300d090dfa4cda282609ad8739f2f81132bc8ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f24347e9ca45c6196faa5ecd53a830e3d256aa16c69fa095f9b12f71bcdc58a [INFO] running `Command { std: "docker" "start" "-a" "1f24347e9ca45c6196faa5ecd53a830e3d256aa16c69fa095f9b12f71bcdc58a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking asexp v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling GSL-sys v3.0.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mt19937 v2.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking GSL v7.0.0 [INFO] [stderr] Checking graph-io-gml v0.3.0 [INFO] [stderr] Checking hcp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `flat`, `get`, `get_mut`, and `clear` are never used [INFO] [stdout] --> src/indexed_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl IndexedList { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn flat(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, row: usize, col: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_mut(&mut self, row: usize, col: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/math.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let current_len = unsafe { _LN_FACT.len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/math.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _LN_FACT.reserve_exact(required_len - current_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/math.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / _LN_FACT.splice( [INFO] [stdout] 28 | | current_len..current_len, [INFO] [stdout] 29 | | (current_len..required_len).map(_ln_fact), [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flat`, `get`, `get_mut`, and `clear` are never used [INFO] [stdout] --> src/indexed_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl IndexedList { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn flat(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get(&self, row: usize, col: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_mut(&mut self, row: usize, col: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/math.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let current_len = unsafe { _LN_FACT.len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/math.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | _LN_FACT.reserve_exact(required_len - current_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/math.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / _LN_FACT.splice( [INFO] [stdout] 28 | | current_len..current_len, [INFO] [stdout] 29 | | (current_len..required_len).map(_ln_fact), [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.73s [INFO] running `Command { std: "docker" "inspect" "1f24347e9ca45c6196faa5ecd53a830e3d256aa16c69fa095f9b12f71bcdc58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f24347e9ca45c6196faa5ecd53a830e3d256aa16c69fa095f9b12f71bcdc58a", kill_on_drop: false }` [INFO] [stdout] 1f24347e9ca45c6196faa5ecd53a830e3d256aa16c69fa095f9b12f71bcdc58a