[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 a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [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 a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `not-perl` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d [INFO] running `Command { std: "docker" "start" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `not-perl` (manifest) generated 1 warning [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: 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] error: useless conversion to the same type: `vm::ty::BuiltinTy` [INFO] [stdout] --> src/compile/scope.rs:301:56 [INFO] [stdout] | [INFO] [stdout] 301 | return_ty: ir::TyExpr::from_builtin_ty(function.return_ty.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 301 - return_ty: ir::TyExpr::from_builtin_ty(function.return_ty.into()), [INFO] [stdout] 301 + return_ty: ir::TyExpr::from_builtin_ty(function.return_ty), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 301 - return_ty: ir::TyExpr::from_builtin_ty(function.return_ty.into()), [INFO] [stdout] 301 + return_ty: ir::TyExpr::from_builtin_ty(>::into(function.return_ty)), [INFO] [stdout] | [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] 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: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: for more information, see [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 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `vm::ty::BuiltinTy` [INFO] [stdout] --> src/compile/scope.rs:301:56 [INFO] [stdout] | [INFO] [stdout] 301 | return_ty: ir::TyExpr::from_builtin_ty(function.return_ty.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 301 - return_ty: ir::TyExpr::from_builtin_ty(function.return_ty.into()), [INFO] [stdout] 301 + return_ty: ir::TyExpr::from_builtin_ty(function.return_ty), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 301 - return_ty: ir::TyExpr::from_builtin_ty(function.return_ty.into()), [INFO] [stdout] 301 + return_ty: ir::TyExpr::from_builtin_ty(>::into(function.return_ty)), [INFO] [stdout] | [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] 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: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: for more information, see [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") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d", kill_on_drop: false }` [INFO] [stdout] 90318c6a1e110a738037186a6be4f687f2d6fb2631c7ed36df93d20db3355b5d