[INFO] cloning repository https://github.com/fantamp/gen-ammo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fantamp/gen-ammo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffantamp%2Fgen-ammo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffantamp%2Fgen-ammo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9b323c784d1a79df8a641e00c4d7ad423d2fe82 [INFO] checking fantamp/gen-ammo against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffantamp%2Fgen-ammo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fantamp/gen-ammo on toolchain d12484522bcab8d07e325c6570f226a2faace3f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fantamp/gen-ammo [INFO] finished tweaking git repo https://github.com/fantamp/gen-ammo [INFO] tweaked toml for git repo https://github.com/fantamp/gen-ammo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fantamp/gen-ammo 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d45cc12291f6604eff35d07a1e69db70d6a9ad856dac0e1d4d123d8e39302696 [INFO] running `Command { std: "docker" "start" "-a" "d45cc12291f6604eff35d07a1e69db70d6a9ad856dac0e1d4d123d8e39302696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d45cc12291f6604eff35d07a1e69db70d6a9ad856dac0e1d4d123d8e39302696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45cc12291f6604eff35d07a1e69db70d6a9ad856dac0e1d4d123d8e39302696", kill_on_drop: false }` [INFO] [stdout] d45cc12291f6604eff35d07a1e69db70d6a9ad856dac0e1d4d123d8e39302696 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6815e052a78b7cb9edf898b5a4f8c4dbd3ebe1b82ca7750a598da8a278a85810 [INFO] running `Command { std: "docker" "start" "-a" "6815e052a78b7cb9edf898b5a4f8c4dbd3ebe1b82ca7750a598da8a278a85810", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking unicode-segmentation v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking term_size v0.2.1 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking clap v2.19.3 [INFO] [stderr] Checking twoway v0.1.3 [INFO] [stdout] error: missing fragment specifier [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap-2.19.3/src/macros.rs:510:34 [INFO] [stdout] | [INFO] [stdout] 510 | (@arg ($arg:expr) $modes:tt !$ident $($tail:tt)*) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fragment specifiers must be provided [INFO] [stdout] = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`, along with `expr_2021` and `pat_param` for edition compatibility [INFO] [stdout] help: try adding a specifier here [INFO] [stdout] | [INFO] [stdout] 510 | (@arg ($arg:expr) $modes:tt !$ident:spec $($tail:tt)*) => { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Checking flate2 v0.2.14 [INFO] [stderr] Checking logut v0.1.0 (/opt/rustwide/workdir/logut) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub sources: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | pub sources: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub reader: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | pub reader: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn process_lines(&mut self, feed_to: &mut dyn FnMut(&[u8])) -> io::Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut dyn BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut dyn FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn process_lines(&mut self, feed_to: &mut dyn FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn process_lines(&mut self, feed_to: &mut dyn FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | fn process_lines(&mut self, feed_to: &mut dyn FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:90:47 [INFO] [stdout] | [INFO] [stdout] 90 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn process_lines(&mut self, feed_to: &mut dyn FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut reader: Box = match GzDecoder::new(Cursor::new(&prefetched)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | let mut reader: Box = match GzDecoder::new(Cursor::new(&prefetched)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clap` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6815e052a78b7cb9edf898b5a4f8c4dbd3ebe1b82ca7750a598da8a278a85810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6815e052a78b7cb9edf898b5a4f8c4dbd3ebe1b82ca7750a598da8a278a85810", kill_on_drop: false }` [INFO] [stdout] 6815e052a78b7cb9edf898b5a4f8c4dbd3ebe1b82ca7750a598da8a278a85810