[INFO] fetching crate commands 0.0.5... [INFO] checking commands-0.0.5 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate commands 0.0.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate commands 0.0.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate commands 0.0.5 [INFO] tweaked toml for crates.io crate commands 0.0.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate commands 0.0.5 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding linefeed v0.2.6 (available: v0.6.0) [INFO] [stderr] Adding rustyline v1.0.0 (available: v16.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c517521c2a3aa1a7f9e41150358b0694cca35b1c18e7a575e0eeab5012040d27 [INFO] running `Command { std: "docker" "start" "-a" "c517521c2a3aa1a7f9e41150358b0694cca35b1c18e7a575e0eeab5012040d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c517521c2a3aa1a7f9e41150358b0694cca35b1c18e7a575e0eeab5012040d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c517521c2a3aa1a7f9e41150358b0694cca35b1c18e7a575e0eeab5012040d27", kill_on_drop: false }` [INFO] [stdout] c517521c2a3aa1a7f9e41150358b0694cca35b1c18e7a575e0eeab5012040d27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69ea61ff68074110b41584169f7e40947cb9c29a4578e459379e6e3b3f86134a [INFO] running `Command { std: "docker" "start" "-a" "69ea61ff68074110b41584169f7e40947cb9c29a4578e459379e6e3b3f86134a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking commands v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking nix v0.5.1 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | TokenType::Word => try!(self.advance(token)), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command_table.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub command: Rc, [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] 23 | pub command: Rc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/mod.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/mod.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tokenizer.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn complete(&self, token: Option>) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | pub fn complete(&self, token: Option>) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(text: &'text str, token_type: TokenType, location: SourceLocation) -> Token { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'text` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'text` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(text: &'text str, token_type: TokenType, location: SourceLocation) -> Token<'text> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | fn new(text: &'text str) -> Tokenizer { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'text` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'text` [INFO] [stdout] | [INFO] [stdout] 220 | fn new(text: &'text str) -> Tokenizer<'text> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn tokenize(text: &str) -> Result, TokenizerError> { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 387 | pub fn tokenize(text: &str) -> Result>, TokenizerError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking linefeed v0.2.6 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | TokenType::Word => try!(self.advance(token)), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command_table.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub command: Rc, [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] 23 | pub command: Rc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/mod.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/mod.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tokenizer.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn complete(&self, token: Option>) -> Vec { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | pub fn complete(&self, token: Option>) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(text: &'text str, token_type: TokenType, location: SourceLocation) -> Token { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'text` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'text` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(text: &'text str, token_type: TokenType, location: SourceLocation) -> Token<'text> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | fn new(text: &'text str) -> Tokenizer { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'text` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'text` [INFO] [stdout] | [INFO] [stdout] 220 | fn new(text: &'text str) -> Tokenizer<'text> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn tokenize(text: &str) -> Result, TokenizerError> { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 387 | pub fn tokenize(text: &str) -> Result>, TokenizerError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | fn mk_token(text: &str, token_type: TokenType, start: usize, end: usize) -> Token { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 399 | fn mk_token(text: &str, token_type: TokenType, start: usize, end: usize) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "69ea61ff68074110b41584169f7e40947cb9c29a4578e459379e6e3b3f86134a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ea61ff68074110b41584169f7e40947cb9c29a4578e459379e6e3b3f86134a", kill_on_drop: false }` [INFO] [stdout] 69ea61ff68074110b41584169f7e40947cb9c29a4578e459379e6e3b3f86134a