[INFO] fetching crate gantelet 0.3.1-alpha.3... [INFO] testing gantelet-0.3.1-alpha.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gantelet 0.3.1-alpha.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gantelet 0.3.1-alpha.3 [INFO] finished tweaking crates.io crate gantelet 0.3.1-alpha.3 [INFO] tweaked toml for crates.io crate gantelet 0.3.1-alpha.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gantelet 0.3.1-alpha.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding clap v2.33.4 (available: v2.34.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63c7b95173a90940c0f9c08e518c3df5da609e98ff1dee95e70072f969656ac0 [INFO] running `Command { std: "docker" "start" "-a" "63c7b95173a90940c0f9c08e518c3df5da609e98ff1dee95e70072f969656ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63c7b95173a90940c0f9c08e518c3df5da609e98ff1dee95e70072f969656ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c7b95173a90940c0f9c08e518c3df5da609e98ff1dee95e70072f969656ac0", kill_on_drop: false }` [INFO] [stdout] 63c7b95173a90940c0f9c08e518c3df5da609e98ff1dee95e70072f969656ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d449ee4c3cfa12c67a99ac4d9b463887bb3135d127d15eab2dd3656bf315a0e [INFO] running `Command { std: "docker" "start" "-a" "6d449ee4c3cfa12c67a99ac4d9b463887bb3135d127d15eab2dd3656bf315a0e", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling seahash v3.0.7 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling xoroshiro128 v0.3.0 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling fasthash v0.4.0 [INFO] [stderr] Compiling gantelet v0.3.1-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cooccur.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::BuildHasherDefault` [INFO] [stdout] --> src/cooccur.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::BuildHasherDefault; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write as IoWrite` [INFO] [stdout] --> src/cooccur.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write as IoWrite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fasthash::xx::Hasher64` [INFO] [stdout] --> src/cooccur.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fasthash::xx::Hasher64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indicatif` [INFO] [stdout] --> src/cooccur.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use indicatif; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_reader` [INFO] [stdout] --> src/cooccur.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let input_reader = std::io::BufReader::new( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_writer` [INFO] [stdout] --> src/cooccur.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut output_writer = std::io::BufWriter::new( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cooccur.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut output_writer = std::io::BufWriter::new( [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/cooccur.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this raw pointer has type `*const String` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&String` [INFO] [stdout] --> src/cooccur.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap-2.33.4/src/macros.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493| &(&(*VALUE))[..] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gantelet` (bin "cooccur") due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/vocab_count.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | pb.set_message(&format!("Read {} Mwords", mega_words)); [INFO] [stdout] | ----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gantelet` (bin "vocab-count") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6d449ee4c3cfa12c67a99ac4d9b463887bb3135d127d15eab2dd3656bf315a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d449ee4c3cfa12c67a99ac4d9b463887bb3135d127d15eab2dd3656bf315a0e", kill_on_drop: false }` [INFO] [stdout] 6d449ee4c3cfa12c67a99ac4d9b463887bb3135d127d15eab2dd3656bf315a0e