[INFO] cloning repository https://github.com/k0nAtbl4/graphic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k0nAtbl4/graphic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nAtbl4%2Fgraphic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nAtbl4%2Fgraphic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac90df2e482a1744aa1fb9c1363298801932dd53 [INFO] checking k0nAtbl4/graphic against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nAtbl4%2Fgraphic" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/k0nAtbl4/graphic [INFO] finished tweaking git repo https://github.com/k0nAtbl4/graphic [INFO] tweaked toml for git repo https://github.com/k0nAtbl4/graphic written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/k0nAtbl4/graphic on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/k0nAtbl4/graphic 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0e370e907c9fd2f6efe84c8d5508b5665cc1446b78f4b129f39af582eb0f192 [INFO] running `Command { std: "docker" "start" "-a" "f0e370e907c9fd2f6efe84c8d5508b5665cc1446b78f4b129f39af582eb0f192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0e370e907c9fd2f6efe84c8d5508b5665cc1446b78f4b129f39af582eb0f192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e370e907c9fd2f6efe84c8d5508b5665cc1446b78f4b129f39af582eb0f192", kill_on_drop: false }` [INFO] [stdout] f0e370e907c9fd2f6efe84c8d5508b5665cc1446b78f4b129f39af582eb0f192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cfa67382bdbd93b161eaead75327cc92ed6f6caedec350e4549e49bdd38cb18 [INFO] running `Command { std: "docker" "start" "-a" "3cfa67382bdbd93b161eaead75327cc92ed6f6caedec350e4549e49bdd38cb18", kill_on_drop: false }` [INFO] [stderr] Checking graphic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn Render(func: String, size: Size) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn Render(func: String, size: Size) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Size` is more private than the item `Plane::Render` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn Render(func: String, size: Size) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Plane::Render` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Size` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Size { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Size` is more private than the item `Plane::Render` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn Render(func: String, size: Size) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Plane::Render` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Size` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Size { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Formula` is never constructed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Formula{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Formula` is never constructed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Formula{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y_name`, `x_name`, `x`, and `b` are never read [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Formula{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2 | y_name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | x_name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y_name`, `x_name`, `x`, and `b` are never read [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Formula{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2 | y_name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | x_name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_x` and `size_y` are never read [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Size { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | // size of coordinate plane [INFO] [stdout] 9 | pub size_x: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub size_y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_x` and `size_y` are never read [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Size { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | // size of coordinate plane [INFO] [stdout] 9 | pub size_x: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub size_y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `size` are never read [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Plane { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 14 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 15 | size: Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `size` are never read [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Plane { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 14 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 15 | size: Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Render` should have a snake case name [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn Render(func: String, size: Size) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `render` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Render` should have a snake case name [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn Render(func: String, size: Size) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `render` [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 `graphic` (bin "graphic") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `graphic` (bin "graphic" test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cfa67382bdbd93b161eaead75327cc92ed6f6caedec350e4549e49bdd38cb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfa67382bdbd93b161eaead75327cc92ed6f6caedec350e4549e49bdd38cb18", kill_on_drop: false }` [INFO] [stdout] 3cfa67382bdbd93b161eaead75327cc92ed6f6caedec350e4549e49bdd38cb18