[INFO] cloning repository https://github.com/DricHao/ts-mini-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DricHao/ts-mini-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDricHao%2Fts-mini-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDricHao%2Fts-mini-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40c1dc83f0f4776d804d61c72e8383cb801462ec [INFO] checking DricHao/ts-mini-engine against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDricHao%2Fts-mini-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DricHao/ts-mini-engine [INFO] finished tweaking git repo https://github.com/DricHao/ts-mini-engine [INFO] tweaked toml for git repo https://github.com/DricHao/ts-mini-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DricHao/ts-mini-engine on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DricHao/ts-mini-engine 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afe3afb0de985e39018af3146667a1158ed69c775d60388c7a4d84b4c8758489 [INFO] running `Command { std: "docker" "start" "-a" "afe3afb0de985e39018af3146667a1158ed69c775d60388c7a4d84b4c8758489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afe3afb0de985e39018af3146667a1158ed69c775d60388c7a4d84b4c8758489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe3afb0de985e39018af3146667a1158ed69c775d60388c7a4d84b4c8758489", kill_on_drop: false }` [INFO] [stdout] afe3afb0de985e39018af3146667a1158ed69c775d60388c7a4d84b4c8758489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e5c18c60c437b8c1dc9d9b816cef306e279b73dfd42b0b8636c68bb22e895b [INFO] running `Command { std: "docker" "start" "-a" "56e5c18c60c437b8c1dc9d9b816cef306e279b73dfd42b0b8636c68bb22e895b", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking ts-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `name` should have an upper camel case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | name(String), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `types` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | types, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `value` should have an upper camel case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `name` should have an upper camel case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | name(String), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `types` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | types, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `value` should have an upper camel case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `demo` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let demo = Per::name(String::from("var")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_demo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | name(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Per` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - name(String), [INFO] [stdout] 4 + name(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `demo` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let demo = Per::name(String::from("var")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_demo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `types` and `value` are never constructed [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | enum Per { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 4 | name(String), [INFO] [stdout] 5 | types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Per` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age` and `job` are never read [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | name: String, [INFO] [stdout] 11 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | job: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | name(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Per` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - name(String), [INFO] [stdout] 4 + name(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `types` and `value` are never constructed [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | enum Per { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 4 | name(String), [INFO] [stdout] 5 | types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Per` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age` and `job` are never read [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | name: String, [INFO] [stdout] 11 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | job: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "56e5c18c60c437b8c1dc9d9b816cef306e279b73dfd42b0b8636c68bb22e895b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e5c18c60c437b8c1dc9d9b816cef306e279b73dfd42b0b8636c68bb22e895b", kill_on_drop: false }` [INFO] [stdout] 56e5c18c60c437b8c1dc9d9b816cef306e279b73dfd42b0b8636c68bb22e895b