[INFO] fetching crate follow 0.1.5... [INFO] testing follow-0.1.5 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate follow 0.1.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate follow 0.1.5 [INFO] finished tweaking crates.io crate follow 0.1.5 [INFO] tweaked toml for crates.io crate follow 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate follow 0.1.5 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.9.0 (available: v0.12.1) [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.42) [INFO] [stderr] Adding docopt v0.7.0 (available: v1.1.1) [INFO] [stderr] Adding error-chain v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding fern v0.3.5 (available: v0.7.1) [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.3) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding terminal_size v0.1.17 (available: v0.4.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21d281d99290a1c0db9361e9c122b95a255721da925c004b60c2bc32bbfc493f [INFO] running `Command { std: "docker" "start" "-a" "21d281d99290a1c0db9361e9c122b95a255721da925c004b60c2bc32bbfc493f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21d281d99290a1c0db9361e9c122b95a255721da925c004b60c2bc32bbfc493f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d281d99290a1c0db9361e9c122b95a255721da925c004b60c2bc32bbfc493f", kill_on_drop: false }` [INFO] [stdout] 21d281d99290a1c0db9361e9c122b95a255721da925c004b60c2bc32bbfc493f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17b91b023111bf4876e1cb1f480ff5973b30bb83a42f8c831f3e32060839b832 [INFO] running `Command { std: "docker" "start" "-a" "17b91b023111bf4876e1cb1f480ff5973b30bb83a42f8c831f3e32060839b832", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling fern v0.3.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling docopt v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling follow v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/args.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/worker.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | &mut buf.bytes[(..)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - &mut buf.bytes[(..)] [INFO] [stdout] 147 + &mut buf.bytes[..] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/worker.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | &mut buf.bytes[(0..available_size)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - &mut buf.bytes[(0..available_size)] [INFO] [stdout] 149 + &mut buf.bytes[0..available_size] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/worker.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | return Ok((cursor..len)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - return Ok((cursor..len)); [INFO] [stdout] 180 + return Ok(cursor..len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/worker.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | return Ok((0..len)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - return Ok((0..len)); [INFO] [stdout] 189 + return Ok(0..len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | Some((Width(w @ 20 ... 200), _)) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `args::Args: Decodable` is not satisfied [INFO] [stdout] --> src/args.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | Docopt::new(USAGE).and_then(|a| a.decode()) [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `args::Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `Docopt::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docopt-0.7.0/src/dopt.rs:200:58 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn decode(&self) -> Result where D: Decodable { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Docopt::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `follow` (bin "follow") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17b91b023111bf4876e1cb1f480ff5973b30bb83a42f8c831f3e32060839b832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b91b023111bf4876e1cb1f480ff5973b30bb83a42f8c831f3e32060839b832", kill_on_drop: false }` [INFO] [stdout] 17b91b023111bf4876e1cb1f480ff5973b30bb83a42f8c831f3e32060839b832