[INFO] fetching crate gantelet 0.3.1-alpha.3... [INFO] checking gantelet-0.3.1-alpha.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gantelet 0.3.1-alpha.3 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gantelet 0.3.1-alpha.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd5049dd9bf545cc2c3db0bd02102fff942437b4e881696cbbdf5f7c93e76983 [INFO] running `Command { std: "docker" "start" "-a" "fd5049dd9bf545cc2c3db0bd02102fff942437b4e881696cbbdf5f7c93e76983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd5049dd9bf545cc2c3db0bd02102fff942437b4e881696cbbdf5f7c93e76983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5049dd9bf545cc2c3db0bd02102fff942437b4e881696cbbdf5f7c93e76983", kill_on_drop: false }` [INFO] [stdout] fd5049dd9bf545cc2c3db0bd02102fff942437b4e881696cbbdf5f7c93e76983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9710505588dec3f09d60e1477f53123cca3dc790a5057f7071db3e5e2b7d88cc [INFO] running `Command { std: "docker" "start" "-a" "9710505588dec3f09d60e1477f53123cca3dc790a5057f7071db3e5e2b7d88cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unit-prefix v0.5.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking console v0.16.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.4 [INFO] [stderr] Checking xoroshiro128 v0.3.0 [INFO] [stderr] Checking indicatif v0.18.0 [INFO] [stderr] Checking fasthash v0.4.0 [INFO] [stderr] Checking 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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] 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] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gantelet` (bin "cooccur" test) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gantelet` (bin "vocab-count") due to 1 previous error [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gantelet` (bin "cooccur") due to 1 previous error; 8 warnings emitted [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] [stderr] error: could not compile `gantelet` (bin "vocab-count" test) due to 1 previous error [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)]` 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] [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] running `Command { std: "docker" "inspect" "9710505588dec3f09d60e1477f53123cca3dc790a5057f7071db3e5e2b7d88cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9710505588dec3f09d60e1477f53123cca3dc790a5057f7071db3e5e2b7d88cc", kill_on_drop: false }` [INFO] [stdout] 9710505588dec3f09d60e1477f53123cca3dc790a5057f7071db3e5e2b7d88cc