[INFO] cloning repository https://github.com/Spirati/sdl2-poly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spirati/sdl2-poly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpirati%2Fsdl2-poly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpirati%2Fsdl2-poly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34e4176eb7cf540a2cb5da320c02b53f7cf965bf [INFO] checking Spirati/sdl2-poly against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpirati%2Fsdl2-poly" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Spirati/sdl2-poly on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Spirati/sdl2-poly [INFO] finished tweaking git repo https://github.com/Spirati/sdl2-poly [INFO] tweaked toml for git repo https://github.com/Spirati/sdl2-poly written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Spirati/sdl2-poly 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db3e7cf722fa612ea8b1b5b9743697d0e471de1626e02be05da1daf5acaa3816 [INFO] running `Command { std: "docker" "start" "-a" "db3e7cf722fa612ea8b1b5b9743697d0e471de1626e02be05da1daf5acaa3816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db3e7cf722fa612ea8b1b5b9743697d0e471de1626e02be05da1daf5acaa3816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3e7cf722fa612ea8b1b5b9743697d0e471de1626e02be05da1daf5acaa3816", kill_on_drop: false }` [INFO] [stdout] db3e7cf722fa612ea8b1b5b9743697d0e471de1626e02be05da1daf5acaa3816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f610b1903bea664051a52cc1f113884f598e056436f32b590d958dc2554a87ba [INFO] running `Command { std: "docker" "start" "-a" "f610b1903bea664051a52cc1f113884f598e056436f32b590d958dc2554a87ba", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Checking sdl_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `ZERO_TWOPI` should have an upper camel case name [INFO] [stdout] --> src/util/math.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | ZERO_TWOPI, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroTwopi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_TWOPI` should have an upper camel case name [INFO] [stdout] --> src/util/math.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | ZERO_TWOPI, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroTwopi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PureFunc` is never used [INFO] [stdout] --> src/util/math.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type PureFunc = dyn Fn(f64) -> f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exclusive` is never constructed [INFO] [stdout] --> src/util/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FunctionDomainType { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 5 | Exclusive(f64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shift` is never used [INFO] [stdout] --> src/util/math.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl FunctionDomain { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn shift(self, amount: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StdDomains` is never used [INFO] [stdout] --> src/util/math.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StdDomains { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `differentiate` is never used [INFO] [stdout] --> src/util/math.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn differentiate(mut coefficients: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_differentiate` is never used [INFO] [stdout] --> src/util/math.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn n_differentiate(mut coefficients: Vec, mut n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_closure` is never used [INFO] [stdout] --> src/util/math.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn poly_closure(coefficients: Vec) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle` is never used [INFO] [stdout] --> src/draw/primitive.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn draw_circle(x: i32, y: i32, r: i32, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_polynomial` is never used [INFO] [stdout] --> src/draw/primitive.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn draw_polynomial(coefficients: Vec, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_filled_polynomial` is never used [INFO] [stdout] --> src/draw/primitive.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn draw_filled_polynomial(coefficients: Vec, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_filled_pure_function` is never used [INFO] [stdout] --> src/draw/primitive.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn draw_filled_pure_function(func: Box, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pure_function` is never used [INFO] [stdout] --> src/draw/primitive.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn draw_pure_function(func: Box, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exclusive` is never constructed [INFO] [stdout] --> src/util/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FunctionDomainType { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 5 | Exclusive(f64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shift` is never used [INFO] [stdout] --> src/util/math.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl FunctionDomain { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn shift(self, amount: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StdDomains` is never used [INFO] [stdout] --> src/util/math.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StdDomains { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle` is never used [INFO] [stdout] --> src/draw/primitive.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn draw_circle(x: i32, y: i32, r: i32, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_polynomial` is never used [INFO] [stdout] --> src/draw/primitive.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn draw_polynomial(coefficients: Vec, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_filled_polynomial` is never used [INFO] [stdout] --> src/draw/primitive.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn draw_filled_polynomial(coefficients: Vec, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_filled_pure_function` is never used [INFO] [stdout] --> src/draw/primitive.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn draw_filled_pure_function(func: Box, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pure_function` is never used [INFO] [stdout] --> src/draw/primitive.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn draw_pure_function(func: Box, canvas: &mut Canvas) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "f610b1903bea664051a52cc1f113884f598e056436f32b590d958dc2554a87ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f610b1903bea664051a52cc1f113884f598e056436f32b590d958dc2554a87ba", kill_on_drop: false }` [INFO] [stdout] f610b1903bea664051a52cc1f113884f598e056436f32b590d958dc2554a87ba