[INFO] cloning repository https://github.com/DevYatsu/new-pkl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevYatsu/new-pkl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevYatsu%2Fnew-pkl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevYatsu%2Fnew-pkl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81ab00f262e73b7f864a6b1b0e71c1ec04500303 [INFO] checking DevYatsu/new-pkl against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevYatsu%2Fnew-pkl" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DevYatsu/new-pkl [INFO] finished tweaking git repo https://github.com/DevYatsu/new-pkl [INFO] tweaked toml for git repo https://github.com/DevYatsu/new-pkl written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DevYatsu/new-pkl 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/DevYatsu/new-pkl 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538 [INFO] running `Command { std: "docker" "start" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538", 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" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538", 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" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking new-pkl v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64` [INFO] [stdout] --> src/lexer.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | #[token("-Infinity", |_| std::f64::NEG_INFINITY)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64` [INFO] [stdout] --> src/lexer.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | #[token("NaN", |_| std::f64::NAN)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/lexer.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | #[token("Infinity", |_| std::f64::INFINITY)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64` [INFO] [stdout] --> src/lexer.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | #[token("-Infinity", |_| std::f64::NEG_INFINITY)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64` [INFO] [stdout] --> src/lexer.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | #[token("NaN", |_| std::f64::NAN)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/lexer.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | #[token("Infinity", |_| std::f64::INFINITY)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/table.rs:480:67 [INFO] [stdout] | [INFO] [stdout] 480 | PklExpr::FuncCall(FuncCall(Identifier(name, _), args, rng)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_name` [INFO] [stdout] --> src/table.rs:609:41 [INFO] [stdout] | [INFO] [stdout] 609 | PklStatement::Import(value, local_name, rng) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_basic_id` is never used [INFO] [stdout] --> src/parser.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn parse_basic_id<'a>(lexer: &mut Lexer<'a, PklToken<'a>>) -> PklResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ExprMember<'_>` [INFO] [stdout] --> src/parser.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | expr_member.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] 346 - expr_member.into(), [INFO] [stdout] 346 + expr_member, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 346 - expr_member.into(), [INFO] [stdout] 346 + as Into<_>>::into(expr_member), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ExprMember<'_>` [INFO] [stdout] --> src/parser.rs:464:29 [INFO] [stdout] | [INFO] [stdout] 464 | ... expr_member.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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 464 - expr_member.into(), [INFO] [stdout] 464 + expr_member, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 464 - expr_member.into(), [INFO] [stdout] 464 + as Into<_>>::into(expr_member), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec>` [INFO] [stdout] --> src/parser.rs:476:44 [INFO] [stdout] | [INFO] [stdout] 476 | return Ok(FuncCall(id, values.into(), start..end)); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 476 - return Ok(FuncCall(id, values.into(), start..end)); [INFO] [stdout] 476 + return Ok(FuncCall(id, values, start..end)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 476 - return Ok(FuncCall(id, values.into(), start..end)); [INFO] [stdout] 476 + return Ok(FuncCall(id, > as Into<_>>::into(values), start..end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/table.rs:480:67 [INFO] [stdout] | [INFO] [stdout] 480 | PklExpr::FuncCall(FuncCall(Identifier(name, _), args, rng)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exclusiveEnd` should have a snake case name [INFO] [stdout] --> src/table/string_api.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | |(start, exclusiveEnd): (i64, i64)| { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `exclusive_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_name` [INFO] [stdout] --> src/table.rs:609:41 [INFO] [stdout] | [INFO] [stdout] 609 | PklStatement::Import(value, local_name, rng) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_basic_id` is never used [INFO] [stdout] --> src/parser.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn parse_basic_id<'a>(lexer: &mut Lexer<'a, PklToken<'a>>) -> PklResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ExprMember<'_>` [INFO] [stdout] --> src/parser.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | expr_member.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] 346 - expr_member.into(), [INFO] [stdout] 346 + expr_member, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 346 - expr_member.into(), [INFO] [stdout] 346 + as Into<_>>::into(expr_member), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ExprMember<'_>` [INFO] [stdout] --> src/parser.rs:464:29 [INFO] [stdout] | [INFO] [stdout] 464 | ... expr_member.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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 464 - expr_member.into(), [INFO] [stdout] 464 + expr_member, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 464 - expr_member.into(), [INFO] [stdout] 464 + as Into<_>>::into(expr_member), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec>` [INFO] [stdout] --> src/parser.rs:476:44 [INFO] [stdout] | [INFO] [stdout] 476 | return Ok(FuncCall(id, values.into(), start..end)); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 476 - return Ok(FuncCall(id, values.into(), start..end)); [INFO] [stdout] 476 + return Ok(FuncCall(id, values, start..end)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 476 - return Ok(FuncCall(id, values.into(), start..end)); [INFO] [stdout] 476 + return Ok(FuncCall(id, > as Into<_>>::into(values), start..end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `new-pkl` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `exclusiveEnd` should have a snake case name [INFO] [stdout] --> src/table/string_api.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | |(start, exclusiveEnd): (i64, i64)| { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `exclusive_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `new-pkl` (lib) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538", kill_on_drop: false }` [INFO] [stdout] eab41d4f23532ebea1cb03afd67dd74424cf7f2cf3edf85989b784b0baefb538