[INFO] cloning repository https://github.com/alekratz/not-perl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alekratz/not-perl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Fnot-perl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Fnot-perl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a308bceec453c7c1e3f510d69c6f5ddd13c1eb5 [INFO] checking alekratz/not-perl against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Fnot-perl" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alekratz/not-perl [INFO] finished tweaking git repo https://github.com/alekratz/not-perl [INFO] tweaked toml for git repo https://github.com/alekratz/not-perl written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alekratz/not-perl on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alekratz/not-perl 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e3250ba68f231bde7dbc796936c8297fd9c4ed24d9c554e6863d165118fe5d6 [INFO] running `Command { std: "docker" "start" "-a" "0e3250ba68f231bde7dbc796936c8297fd9c4ed24d9c554e6863d165118fe5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e3250ba68f231bde7dbc796936c8297fd9c4ed24d9c554e6863d165118fe5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3250ba68f231bde7dbc796936c8297fd9c4ed24d9c554e6863d165118fe5d6", kill_on_drop: false }` [INFO] [stdout] 0e3250ba68f231bde7dbc796936c8297fd9c4ed24d9c554e6863d165118fe5d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 639d3f3c3d0dca107188dc448c099695c1b7dc3ef890ae574c411fd8647f296a [INFO] running `Command { std: "docker" "start" "-a" "639d3f3c3d0dca107188dc448c099695c1b7dc3ef890ae574c411fd8647f296a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling enum-methods v0.0.8 [INFO] [stderr] Checking not-perl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/syntax/lexer.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | '0' ... '9' => Some(self.next_numeric_token()), [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/syntax/lexer.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | '0' ... '9' => Some(self.next_numeric_token()), [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir/action.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut elseif_action_blocks = elseif_blocks.iter() [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | write!(stdout, " > "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = write!(stdout, " > "); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/syntax/pos.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn map(&self, mapfn: impl FnOnce(&T) -> Out) -> Ranged<'n, Out> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | / impl<'n, T> Deref for Ranged<'n, T> [INFO] [stdout] 119 | | where T: Sized + Clone + Debug [INFO] [stdout] | |__________________________________- trait implemented here [INFO] [stdout] 120 | { [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/syntax/pos.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | / impl<'n, T> Deref for Ranged<'n, T> [INFO] [stdout] 119 | | where T: Sized + Clone + Debug [INFO] [stdout] | |__________________________________- trait implemented here [INFO] [stdout] 120 | { [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/syntax/pos.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn as_inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | / impl<'n, T> Deref for Ranged<'n, T> [INFO] [stdout] 119 | | where T: Sized + Clone + Debug [INFO] [stdout] | |__________________________________- trait implemented here [INFO] [stdout] 120 | { [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/vm/condition.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", "cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir/action.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut elseif_action_blocks = elseif_blocks.iter() [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `not-perl` (bin "not-perl") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | write!(stdout, " > "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = write!(stdout, " > "); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/syntax/pos.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn map(&self, mapfn: impl FnOnce(&T) -> Out) -> Ranged<'n, Out> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | / impl<'n, T> Deref for Ranged<'n, T> [INFO] [stdout] 119 | | where T: Sized + Clone + Debug [INFO] [stdout] | |__________________________________- trait implemented here [INFO] [stdout] 120 | { [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/syntax/pos.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | / impl<'n, T> Deref for Ranged<'n, T> [INFO] [stdout] 119 | | where T: Sized + Clone + Debug [INFO] [stdout] | |__________________________________- trait implemented here [INFO] [stdout] 120 | { [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/syntax/pos.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn as_inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | / impl<'n, T> Deref for Ranged<'n, T> [INFO] [stdout] 119 | | where T: Sized + Clone + Debug [INFO] [stdout] | |__________________________________- trait implemented here [INFO] [stdout] 120 | { [INFO] [stdout] 121 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/vm/condition.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", "cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `not-perl` (bin "not-perl" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "639d3f3c3d0dca107188dc448c099695c1b7dc3ef890ae574c411fd8647f296a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639d3f3c3d0dca107188dc448c099695c1b7dc3ef890ae574c411fd8647f296a", kill_on_drop: false }` [INFO] [stdout] 639d3f3c3d0dca107188dc448c099695c1b7dc3ef890ae574c411fd8647f296a