[INFO] fetching crate commands 0.0.5... [INFO] testing commands-0.0.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate commands 0.0.5 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate commands 0.0.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded linefeed v0.2.6 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b379348aa1a3e84e928c104f359bf5f279c3432bec798af47fe215691e1c4222 [INFO] running `Command { std: "docker" "start" "-a" "b379348aa1a3e84e928c104f359bf5f279c3432bec798af47fe215691e1c4222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b379348aa1a3e84e928c104f359bf5f279c3432bec798af47fe215691e1c4222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b379348aa1a3e84e928c104f359bf5f279c3432bec798af47fe215691e1c4222", kill_on_drop: false }` [INFO] [stdout] b379348aa1a3e84e928c104f359bf5f279c3432bec798af47fe215691e1c4222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cb271dec780f0d7268f536ad0df9b0e4146cafd8ba1f2b99c6925b159e910a65 [INFO] running `Command { std: "docker" "start" "-a" "cb271dec780f0d7268f536ad0df9b0e4146cafd8ba1f2b99c6925b159e910a65", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling commands v0.0.5 (/opt/rustwide/workdir) [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "cb271dec780f0d7268f536ad0df9b0e4146cafd8ba1f2b99c6925b159e910a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb271dec780f0d7268f536ad0df9b0e4146cafd8ba1f2b99c6925b159e910a65", kill_on_drop: false }` [INFO] [stdout] cb271dec780f0d7268f536ad0df9b0e4146cafd8ba1f2b99c6925b159e910a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a6de8d11d4f4611dac6b0cf92a4a1475862d391b34ff683126f85c485c1f18c [INFO] running `Command { std: "docker" "start" "-a" "4a6de8d11d4f4611dac6b0cf92a4a1475862d391b34ff683126f85c485c1f18c", 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] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling void v1.0.2 [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] [stderr] Compiling encode_unicode v0.1.3 [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 nix v0.5.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling linefeed v0.2.6 [INFO] [stderr] Compiling commands v0.0.5 (/opt/rustwide/workdir) [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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc0llmld/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblinefeed-dc8f0b3359954af9.rlib}.rlib" "-lncursesw" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnix-29c4902fc520c7d6.rlib,libvoid-93586161032aa49a.rlib,libcfg_if-2d17986ae484e939.rlib,libbitflags-a23f0d4100491326.rlib,libunicode_width-0554d3fad58fffa5.rlib,liblibc-8e354d7ef70926da.rlib,libcommands-943a7376bcef5fca.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc0llmld/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/linefeed-5f91caddb1fd7a2f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblinefeed-dc8f0b3359954af9.rlib(linefeed-dc8f0b3359954af9.linefeed.d962aac5102f9fb-cgu.4.rcgu.o): in function `linefeed::sys::terminfo::setup_terminal': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linefeed-0.2.6/src/unix/terminfo.rs:105:(.text._ZN8linefeed3sys8terminfo14setup_terminal17he850cc9fcfe4cdebE+0x1c): undefined reference to `setupterm' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblinefeed-dc8f0b3359954af9.rlib(linefeed-dc8f0b3359954af9.linefeed.d962aac5102f9fb-cgu.4.rcgu.o): in function `linefeed::sys::terminfo::put': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linefeed-0.2.6/src/unix/terminfo.rs:133:(.text._ZN8linefeed3sys8terminfo3put17hbba72468ed5c8d42E+0x24): undefined reference to `tputs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblinefeed-dc8f0b3359954af9.rlib(linefeed-dc8f0b3359954af9.linefeed.d962aac5102f9fb-cgu.4.rcgu.o): in function `linefeed::sys::terminfo::term_param': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linefeed-0.2.6/src/unix/terminfo.rs:166:(.text._ZN8linefeed3sys8terminfo10term_param17h8d71ec68b9202cb6E+0x159): undefined reference to `tparm' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblinefeed-dc8f0b3359954af9.rlib(linefeed-dc8f0b3359954af9.linefeed.d962aac5102f9fb-cgu.4.rcgu.o): in function `linefeed::sys::terminfo::get_str': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linefeed-0.2.6/src/unix/terminfo.rs:207:(.text._ZN8linefeed3sys8terminfo7get_str17h89cf9a270f9f8ae6E+0x16f): undefined reference to `tigetstr' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `commands` (example "linefeed") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4a6de8d11d4f4611dac6b0cf92a4a1475862d391b34ff683126f85c485c1f18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6de8d11d4f4611dac6b0cf92a4a1475862d391b34ff683126f85c485c1f18c", kill_on_drop: false }` [INFO] [stdout] 4a6de8d11d4f4611dac6b0cf92a4a1475862d391b34ff683126f85c485c1f18c