[INFO] cloning repository https://github.com/ObvMamut/fourier-series-for-complex-functions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ObvMamut/fourier-series-for-complex-functions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObvMamut%2Ffourier-series-for-complex-functions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObvMamut%2Ffourier-series-for-complex-functions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9c3de893318302659da8f500c869dfad4822ed5 [INFO] testing ObvMamut/fourier-series-for-complex-functions against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObvMamut%2Ffourier-series-for-complex-functions" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ObvMamut/fourier-series-for-complex-functions [INFO] finished tweaking git repo https://github.com/ObvMamut/fourier-series-for-complex-functions [INFO] tweaked toml for git repo https://github.com/ObvMamut/fourier-series-for-complex-functions written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ObvMamut/fourier-series-for-complex-functions on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ObvMamut/fourier-series-for-complex-functions 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v4.2.1 [INFO] [stderr] Downloaded lyon v1.0.1 [INFO] [stderr] Downloaded svg v0.13.1 [INFO] [stderr] Downloaded crevice-derive v0.10.0 [INFO] [stderr] Downloaded crevice v0.13.0 [INFO] [stderr] Downloaded glyph_brush v0.7.9 [INFO] [stderr] Downloaded ggez v0.9.3 [INFO] [stderr] Downloaded lyon_tessellation v1.0.15 [INFO] [stderr] Downloaded zstd-sys v2.0.11+zstd.1.5.6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a2b6671c319f4d1bdd48006aff25088704179c9ca26c7818908173b7efdcd2c [INFO] running `Command { std: "docker" "start" "-a" "9a2b6671c319f4d1bdd48006aff25088704179c9ca26c7818908173b7efdcd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a2b6671c319f4d1bdd48006aff25088704179c9ca26c7818908173b7efdcd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2b6671c319f4d1bdd48006aff25088704179c9ca26c7818908173b7efdcd2c", kill_on_drop: false }` [INFO] [stdout] 9a2b6671c319f4d1bdd48006aff25088704179c9ca26c7818908173b7efdcd2c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb3856884a21501c0b6f4769cd55de237f5f51507bf1604bd02a8fc498c73643 [INFO] running `Command { std: "docker" "start" "-a" "cb3856884a21501c0b6f4769cd55de237f5f51507bf1604bd02a8fc498c73643", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling ttf-parser v0.24.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling euclid v0.22.10 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling lyon_geom v1.0.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v5.0.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lyon_path v1.0.5 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling font-kit v0.13.2 [INFO] [stderr] Compiling gilrs v0.10.7 [INFO] [stderr] Compiling gilrs-core v0.5.12 [INFO] [stderr] Compiling glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling lyon_algorithms v1.0.4 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling ordered-float v4.2.1 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling glyph_brush v0.7.9 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling crevice v0.13.0 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling svg v0.13.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling plotters-bitmap v0.3.6 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling fourier-series-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mesh` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | graphics::{self, Color, Mesh}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Fourier_Serie` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Fourier_Serie { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourierSerie` [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: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | return { Complex::new(1.0, -1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 64 - return { Complex::new(1.0, -1.0) }; [INFO] [stdout] 64 + return Complex::new(1.0, -1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | return { Complex::new(1.0, 1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 66 - return { Complex::new(1.0, 1.0) }; [INFO] [stdout] 66 + return Complex::new(1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | return { Complex::new(-1.0, 1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 68 - return { Complex::new(-1.0, 1.0) }; [INFO] [stdout] 68 + return Complex::new(-1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | return { Complex::new(-1.0, -1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 70 - return { Complex::new(-1.0, -1.0) }; [INFO] [stdout] 70 + return Complex::new(-1.0, -1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::event::EventHandler` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::event::EventHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for tx in 0..100 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut vn = vec![v_re, v_im]; [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/main.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut new_coords = i * 200.0 + 880.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n` and `function_stack` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Fourier_Serie { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] 34 | list_n: Vec, [INFO] [stdout] 35 | function_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "cb3856884a21501c0b6f4769cd55de237f5f51507bf1604bd02a8fc498c73643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3856884a21501c0b6f4769cd55de237f5f51507bf1604bd02a8fc498c73643", kill_on_drop: false }` [INFO] [stdout] cb3856884a21501c0b6f4769cd55de237f5f51507bf1604bd02a8fc498c73643 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96f3bd1b450c7168064985bc1af13fa8b63c0d0aa928ff9eed7abcd7bdcb926 [INFO] running `Command { std: "docker" "start" "-a" "d96f3bd1b450c7168064985bc1af13fa8b63c0d0aa928ff9eed7abcd7bdcb926", kill_on_drop: false }` [INFO] [stderr] Compiling fourier-series-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mesh` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | graphics::{self, Color, Mesh}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Fourier_Serie` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Fourier_Serie { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourierSerie` [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: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | return { Complex::new(1.0, -1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 64 - return { Complex::new(1.0, -1.0) }; [INFO] [stdout] 64 + return Complex::new(1.0, -1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | return { Complex::new(1.0, 1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 66 - return { Complex::new(1.0, 1.0) }; [INFO] [stdout] 66 + return Complex::new(1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | return { Complex::new(-1.0, 1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 68 - return { Complex::new(-1.0, 1.0) }; [INFO] [stdout] 68 + return Complex::new(-1.0, 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `return` value [INFO] [stdout] --> src/main.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | return { Complex::new(-1.0, -1.0) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 70 - return { Complex::new(-1.0, -1.0) }; [INFO] [stdout] 70 + return Complex::new(-1.0, -1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::event::EventHandler` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::event::EventHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for tx in 0..100 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut vn = vec![v_re, v_im]; [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/main.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut new_coords = i * 200.0 + 880.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n` and `function_stack` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Fourier_Serie { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] 34 | list_n: Vec, [INFO] [stdout] 35 | function_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "d96f3bd1b450c7168064985bc1af13fa8b63c0d0aa928ff9eed7abcd7bdcb926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96f3bd1b450c7168064985bc1af13fa8b63c0d0aa928ff9eed7abcd7bdcb926", kill_on_drop: false }` [INFO] [stdout] d96f3bd1b450c7168064985bc1af13fa8b63c0d0aa928ff9eed7abcd7bdcb926 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dcde99e1a9d75de847fe60ef1752070ad99ca14c340f0ce890fe9cbca757e90d [INFO] running `Command { std: "docker" "start" "-a" "dcde99e1a9d75de847fe60ef1752070ad99ca14c340f0ce890fe9cbca757e90d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Mesh` [INFO] [stderr] --> src/main.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | graphics::{self, Color, Mesh}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `Fourier_Serie` should have an upper camel case name [INFO] [stderr] --> src/main.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | struct Fourier_Serie { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourierSerie` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around `return` value [INFO] [stderr] --> src/main.rs:64:20 [INFO] [stderr] | [INFO] [stderr] 64 | return { Complex::new(1.0, -1.0) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 64 - return { Complex::new(1.0, -1.0) }; [INFO] [stderr] 64 + return Complex::new(1.0, -1.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around `return` value [INFO] [stderr] --> src/main.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | return { Complex::new(1.0, 1.0) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 66 - return { Complex::new(1.0, 1.0) }; [INFO] [stderr] 66 + return Complex::new(1.0, 1.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around `return` value [INFO] [stderr] --> src/main.rs:68:20 [INFO] [stderr] | [INFO] [stderr] 68 | return { Complex::new(-1.0, 1.0) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 68 - return { Complex::new(-1.0, 1.0) }; [INFO] [stderr] 68 + return Complex::new(-1.0, 1.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around `return` value [INFO] [stderr] --> src/main.rs:70:20 [INFO] [stderr] | [INFO] [stderr] 70 | return { Complex::new(-1.0, -1.0) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 70 - return { Complex::new(-1.0, -1.0) }; [INFO] [stderr] 70 + return Complex::new(-1.0, -1.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::event::EventHandler` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ggez::event::EventHandler; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> src/main.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | for tx in 0..100 { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | let mut vn = vec![v_re, v_im]; [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:269:13 [INFO] [stderr] | [INFO] [stderr] 269 | let mut new_coords = i * 200.0 + 880.0; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `n` and `function_stack` are never read [INFO] [stderr] --> src/main.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 28 | struct Fourier_Serie { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 33 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] 34 | list_n: Vec, [INFO] [stderr] 35 | function_stack: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `fourier-series-rust` (bin "fourier-series-rust" test) generated 11 warnings (run `cargo fix --bin "fourier-series-rust" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fourier_series_rust-557686f91bb53ad7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dcde99e1a9d75de847fe60ef1752070ad99ca14c340f0ce890fe9cbca757e90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcde99e1a9d75de847fe60ef1752070ad99ca14c340f0ce890fe9cbca757e90d", kill_on_drop: false }` [INFO] [stdout] dcde99e1a9d75de847fe60ef1752070ad99ca14c340f0ce890fe9cbca757e90d