[INFO] cloning repository https://github.com/CreativeWolfies/patpat.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreativeWolfies/patpat.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fpatpat.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fpatpat.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9675e5ca04bc38a8723721301ffeb618fec12ab7 [INFO] testing CreativeWolfies/patpat.rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fpatpat.rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CreativeWolfies/patpat.rs [INFO] finished tweaking git repo https://github.com/CreativeWolfies/patpat.rs [INFO] tweaked toml for git repo https://github.com/CreativeWolfies/patpat.rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CreativeWolfies/patpat.rs 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] crate git repo https://github.com/CreativeWolfies/patpat.rs 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusty_ulid v0.9.3 [INFO] [stderr] Downloaded regex v1.3.1 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e1107a12b371fd05bd61fb2cec55a0a08052d5d61566e0bb76e7e2784afaa439 [INFO] running `Command { std: "docker" "start" "-a" "e1107a12b371fd05bd61fb2cec55a0a08052d5d61566e0bb76e7e2784afaa439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1107a12b371fd05bd61fb2cec55a0a08052d5d61566e0bb76e7e2784afaa439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1107a12b371fd05bd61fb2cec55a0a08052d5d61566e0bb76e7e2784afaa439", kill_on_drop: false }` [INFO] [stdout] e1107a12b371fd05bd61fb2cec55a0a08052d5d61566e0bb76e7e2784afaa439 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 79b45d1fbcb79a37f7ddb99a6e85683bd895ed2dc2fba155816950adb6cc274e [INFO] running `Command { std: "docker" "start" "-a" "79b45d1fbcb79a37f7ddb99a6e85683bd895ed2dc2fba155816950adb6cc274e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling rusty_ulid v0.9.3 [INFO] [stderr] Compiling patpat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/resolve/mod.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(self.infos.remove(0).msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/resolve/mod.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(self.infos.remove(0).msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.21s [INFO] running `Command { std: "docker" "inspect" "79b45d1fbcb79a37f7ddb99a6e85683bd895ed2dc2fba155816950adb6cc274e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b45d1fbcb79a37f7ddb99a6e85683bd895ed2dc2fba155816950adb6cc274e", kill_on_drop: false }` [INFO] [stdout] 79b45d1fbcb79a37f7ddb99a6e85683bd895ed2dc2fba155816950adb6cc274e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 38c987a7b77640d90a8a95511aebd01cd62fd85ec965d01c1bc61e4071fa8413 [INFO] running `Command { std: "docker" "start" "-a" "38c987a7b77640d90a8a95511aebd01cd62fd85ec965d01c1bc61e4071fa8413", kill_on_drop: false }` [INFO] [stderr] Compiling patpat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/resolve/mod.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(self.infos.remove(0).msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/resolve/mod.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(self.infos.remove(0).msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/resolve/mod.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(self.infos.remove(0).msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/resolve/mod.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/error.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(self.infos.remove(0).msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/parser/mod.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "38c987a7b77640d90a8a95511aebd01cd62fd85ec965d01c1bc61e4071fa8413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c987a7b77640d90a8a95511aebd01cd62fd85ec965d01c1bc61e4071fa8413", kill_on_drop: false }` [INFO] [stdout] 38c987a7b77640d90a8a95511aebd01cd62fd85ec965d01c1bc61e4071fa8413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7a1f01b189dbb57922e040556f021128edd3c38633f51da8b353d978b5ab2d11 [INFO] running `Command { std: "docker" "start" "-a" "7a1f01b189dbb57922e040556f021128edd3c38633f51da8b353d978b5ab2d11", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ast/resolve/mod.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef { [INFO] [stderr] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 51 | pub fn resolve<'a>(ast: AST<'a>) -> RASTRef<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/error.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | panic!(self.infos.remove(0).msg) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 60 | panic!("{}", self.infos.remove(0).msg) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/error.rs:202:35 [INFO] [stderr] | [INFO] [stderr] 202 | CompLocation::Char(loc.src.clone(), loc.line, loc.ch) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/parser/mod.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | let mut trimmed_line = line.clone(); // a copy of the line, which progressively gets trimmed [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `patpat` (lib) generated 4 warnings (run `cargo fix --lib -p patpat` to apply 3 suggestions) [INFO] [stderr] warning: `patpat` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `patpat` (bin "patpat") generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `patpat` (bin "patpat" test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/patpat-00b26e5e1201d0a3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/patpat-a1b1d769abb388fe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/basic.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/basic-17b283909d16821e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test blocks ... ok [INFO] [stdout] test variables ... ok [INFO] [stdout] test hello_world ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/expr.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/expr-d5dea51ee482e967) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test add ... ok [INFO] [stdout] test sub ... ok [INFO] [stdout] test composite_fn ... ok [INFO] [stdout] test mul ... ok [INFO] [stdout] test div ... ok [INFO] [stdout] test shortcircuiting ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] Running tests/interpretation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/interpretation-cccf6b3d61a3c8c4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test subtypes ... ok [INFO] [stdout] test basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/patterns.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/patterns-dcf5021f9b3c7ce3) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test call ... ok [INFO] [stdout] test test_log ... ok [INFO] [stdout] test closure ... ok [INFO] [stdout] test elseif ... ok [INFO] [stdout] test bail ... ok [INFO] [stdout] test lhs ... ok [INFO] [stdout] test r#for ... ok [INFO] [stdout] test r#if ... ok [INFO] [stdout] test error_ref - should panic ... ok [INFO] [stdout] test wrangle_risk - should panic ... ok [INFO] [stdout] test scope - should panic ... ok [INFO] [stdout] test nargs_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] Running tests/tuples.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tuples-107265d602dff89d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test pop ... ok [INFO] [stdout] test push ... ok [INFO] [stdout] test access ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a1f01b189dbb57922e040556f021128edd3c38633f51da8b353d978b5ab2d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1f01b189dbb57922e040556f021128edd3c38633f51da8b353d978b5ab2d11", kill_on_drop: false }` [INFO] [stdout] 7a1f01b189dbb57922e040556f021128edd3c38633f51da8b353d978b5ab2d11