[INFO] cloning repository https://github.com/restebanre/mandelbrot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/restebanre/mandelbrot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frestebanre%2Fmandelbrot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frestebanre%2Fmandelbrot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dd6f3f78c6008d87037ccb414e72b63366bb79f [INFO] linting restebanre/mandelbrot/7dd6f3f78c6008d87037ccb414e72b63366bb79f against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frestebanre%2Fmandelbrot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/restebanre/mandelbrot [INFO] finished tweaking git repo https://github.com/restebanre/mandelbrot [INFO] tweaked toml for git repo https://github.com/restebanre/mandelbrot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/restebanre/mandelbrot on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/restebanre/mandelbrot 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest Rust 1.96.0-nightly compatible versions [INFO] [stderr] Adding adler2 v2.0.1 [INFO] [stderr] Adding aligned v0.4.3 [INFO] [stderr] Adding aligned-vec v0.6.4 [INFO] [stderr] Adding anyhow v1.0.102 [INFO] [stderr] Adding arbitrary v1.4.2 [INFO] [stderr] Adding arg_enum_proc_macro v0.3.4 [INFO] [stderr] Adding arrayvec v0.7.6 [INFO] [stderr] Adding as-slice v0.2.1 [INFO] [stderr] Adding autocfg v1.5.0 [INFO] [stderr] Adding av-scenechange v0.14.1 [INFO] [stderr] Adding av1-grain v0.2.5 [INFO] [stderr] Adding avif-serialize v0.8.8 [INFO] [stderr] Adding bit_field v0.10.3 [INFO] [stderr] Adding bitflags v2.11.0 [INFO] [stderr] Adding bitstream-io v4.9.0 [INFO] [stderr] Adding built v0.8.0 [INFO] [stderr] Adding bumpalo v3.20.2 [INFO] [stderr] Adding bytemuck v1.25.0 [INFO] [stderr] Adding byteorder-lite v0.1.0 [INFO] [stderr] Adding cc v1.2.57 [INFO] [stderr] Adding cfg-if v1.0.4 [INFO] [stderr] Adding color_quant v1.1.0 [INFO] [stderr] Adding core2 v0.4.0 [INFO] [stderr] Adding crc32fast v1.5.0 [INFO] [stderr] Adding crossbeam-deque v0.8.6 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding crossbeam-utils v0.8.21 [INFO] [stderr] Adding crunchy v0.2.4 [INFO] [stderr] Adding either v1.15.0 [INFO] [stderr] Adding equator v0.4.2 [INFO] [stderr] Adding equator-macro v0.4.2 [INFO] [stderr] Adding exr v1.74.0 [INFO] [stderr] Adding fax v0.2.6 [INFO] [stderr] Adding fax_derive v0.2.0 [INFO] [stderr] Adding fdeflate v0.3.7 [INFO] [stderr] Adding find-msvc-tools v0.1.9 [INFO] [stderr] Adding flate2 v1.1.9 [INFO] [stderr] Adding getrandom v0.3.4 [INFO] [stderr] Adding gif v0.14.1 [INFO] [stderr] Adding half v2.7.1 [INFO] [stderr] Adding image v0.25.10 [INFO] [stderr] Adding image-webp v0.2.4 [INFO] [stderr] Adding imgref v1.12.0 [INFO] [stderr] Adding interpolate_name v0.2.4 [INFO] [stderr] Adding itertools v0.14.0 [INFO] [stderr] Adding jobserver v0.1.34 [INFO] [stderr] Adding lebe v0.5.3 [INFO] [stderr] Adding libc v0.2.183 [INFO] [stderr] Adding libfuzzer-sys v0.4.12 [INFO] [stderr] Adding log v0.4.29 [INFO] [stderr] Adding loop9 v0.1.5 [INFO] [stderr] Adding maybe-rayon v0.1.1 [INFO] [stderr] Adding memchr v2.8.0 [INFO] [stderr] Adding miniz_oxide v0.8.9 [INFO] [stderr] Adding moxcms v0.8.1 [INFO] [stderr] Adding new_debug_unreachable v1.0.6 [INFO] [stderr] Adding nom v8.0.0 [INFO] [stderr] Adding noop_proc_macro v0.3.0 [INFO] [stderr] Adding num v0.4.3 [INFO] [stderr] Adding num-bigint v0.4.6 [INFO] [stderr] Adding num-complex v0.4.6 [INFO] [stderr] Adding num-derive v0.4.2 [INFO] [stderr] Adding num-integer v0.1.46 [INFO] [stderr] Adding num-iter v0.1.45 [INFO] [stderr] Adding num-rational v0.4.2 [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding once_cell v1.21.4 [INFO] [stderr] Adding paste v1.0.15 [INFO] [stderr] Adding pastey v0.1.1 [INFO] [stderr] Adding png v0.18.1 [INFO] [stderr] Adding ppv-lite86 v0.2.21 [INFO] [stderr] Adding proc-macro2 v1.0.106 [INFO] [stderr] Adding profiling v1.0.17 [INFO] [stderr] Adding profiling-procmacros v1.0.17 [INFO] [stderr] Adding pxfm v0.1.28 [INFO] [stderr] Adding qoi v0.4.1 [INFO] [stderr] Adding quick-error v2.0.1 [INFO] [stderr] Adding quote v1.0.45 [INFO] [stderr] Adding r-efi v5.3.0 [INFO] [stderr] Adding rand v0.9.2 [INFO] [stderr] Adding rand_chacha v0.9.0 [INFO] [stderr] Adding rand_core v0.9.5 [INFO] [stderr] Adding rav1e v0.8.1 [INFO] [stderr] Adding ravif v0.13.0 [INFO] [stderr] Adding rayon v1.11.0 [INFO] [stderr] Adding rayon-core v1.13.0 [INFO] [stderr] Adding rgb v0.8.53 [INFO] [stderr] Adding rustversion v1.0.22 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding simd-adler32 v0.3.8 [INFO] [stderr] Adding simd_helpers v0.1.0 [INFO] [stderr] Adding smallvec v1.15.1 [INFO] [stderr] Adding stable_deref_trait v1.2.1 [INFO] [stderr] Adding syn v2.0.117 [INFO] [stderr] Adding thiserror v2.0.18 [INFO] [stderr] Adding thiserror-impl v2.0.18 [INFO] [stderr] Adding tiff v0.11.3 [INFO] [stderr] Adding unicode-ident v1.0.24 [INFO] [stderr] Adding v_frame v0.3.9 [INFO] [stderr] Adding wasip2 v1.0.2+wasi-0.2.9 [INFO] [stderr] Adding wasm-bindgen v0.2.114 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.114 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.114 [INFO] [stderr] Adding weezl v0.1.12 [INFO] [stderr] Adding wit-bindgen v0.51.0 [INFO] [stderr] Adding y4m v0.8.0 [INFO] [stderr] Adding zerocopy v0.8.42 [INFO] [stderr] Adding zerocopy-derive v0.8.42 [INFO] [stderr] Adding zune-core v0.5.1 [INFO] [stderr] Adding zune-inflate v0.2.54 [INFO] [stderr] Adding zune-jpeg v0.5.13 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded avif-serialize v0.8.8 [INFO] [stderr] Downloaded ravif v0.13.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.12 [INFO] [stderr] Downloaded tiff v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a217d7fcda23fb43354c1951c47353e2d9356ea852f06b4df6f2bbcc5f1f6278 [INFO] running `Command { std: "docker" "start" "-a" "a217d7fcda23fb43354c1951c47353e2d9356ea852f06b4df6f2bbcc5f1f6278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a217d7fcda23fb43354c1951c47353e2d9356ea852f06b4df6f2bbcc5f1f6278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a217d7fcda23fb43354c1951c47353e2d9356ea852f06b4df6f2bbcc5f1f6278", kill_on_drop: false }` [INFO] [stdout] a217d7fcda23fb43354c1951c47353e2d9356ea852f06b4df6f2bbcc5f1f6278 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0a981d08c3e516746451ff273a0eb0e369cf6737f768e7ae1c339a42a8c493 [INFO] running `Command { std: "docker" "start" "-a" "be0a981d08c3e516746451ff273a0eb0e369cf6737f768e7ae1c339a42a8c493", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking zune-jpeg v0.5.13 [INFO] [stderr] Checking avif-serialize v0.8.8 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerocopy-derive v0.8.42 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking av-scenechange v0.14.1 [INFO] [stderr] Checking rav1e v0.8.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ravif v0.13.0 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking mandelbrot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0255]: the name `Complex` is defined multiple times [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 14 | use num::Complex; [INFO] [stdout] | ------------ previous import of the type `Complex` here [INFO] [stdout] ... [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Complex` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Complex` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 14 | use num::Complex as OtherComplex; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Complex` is defined multiple times [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ----------------- previous definition of the type `Complex` here [INFO] [stdout] ... [INFO] [stdout] 36 | use num::Complex; [INFO] [stdout] | ^^^^^^^^^^^^ `Complex` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Complex` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 36 | use num::Complex as OtherComplex; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Complex` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use num::Complex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Complex` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use num::Complex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Complex<{float}>` by `Complex<{float}>` [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | z = z * z + c; [INFO] [stdout] | - ^ - Complex<{float}> [INFO] [stdout] | | [INFO] [stdout] | Complex<{float}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::ops::Mul` might be missing for `Complex<{float}>` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::ops::Mul` [INFO] [stdout] note: the trait `std::ops::Mul` must be implemented [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/ops/arith.rs:324:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Complex` is defined multiple times [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 14 | use num::Complex; [INFO] [stdout] | ------------ previous import of the type `Complex` here [INFO] [stdout] ... [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Complex` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Complex` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 14 | use num::Complex as OtherComplex; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Complex` is defined multiple times [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ----------------- previous definition of the type `Complex` here [INFO] [stdout] ... [INFO] [stdout] 36 | use num::Complex; [INFO] [stdout] | ^^^^^^^^^^^^ `Complex` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Complex` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 36 | use num::Complex as OtherComplex; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `norm_sqr` found for struct `Complex` in the current scope [INFO] [stdout] --> src/main.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ----------------- method `norm_sqr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | if z.norm_sqr() > 4.0 { [INFO] [stdout] | ^^^^^^^^ method not found in `Complex<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Complex<{float}>` by `Complex<{float}>` [INFO] [stdout] --> src/main.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | z = z * z + c; [INFO] [stdout] | - ^ - Complex<{float}> [INFO] [stdout] | | [INFO] [stdout] | Complex<{float}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::ops::Mul` might be missing for `Complex<{float}>` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::ops::Mul` [INFO] [stdout] note: the trait `std::ops::Mul` must be implemented [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/ops/arith.rs:324:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::option::Option>` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / assert_eq!( [INFO] [stdout] 107 | | parse_complex("1.25,-0.0625"), [INFO] [stdout] 108 | | Some(Complex { [INFO] [stdout] 109 | | re: 1.25, [INFO] [stdout] 110 | | im: -0.0625 [INFO] [stdout] 111 | | }), [INFO] [stdout] 112 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____std::option::Option> [INFO] [stdout] | std::option::Option> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::cmp::PartialEq` might be missing for `Complex` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::cmp::PartialEq` [INFO] [stdout] help: consider annotating `Complex` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(PartialEq)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Complex` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / assert_eq!( [INFO] [stdout] 107 | | parse_complex("1.25,-0.0625"), [INFO] [stdout] 108 | | Some(Complex { [INFO] [stdout] 109 | | re: 1.25, [INFO] [stdout] 110 | | im: -0.0625 [INFO] [stdout] 111 | | }), [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_____^ the trait `std::fmt::Debug` is not implemented for `Complex` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Complex` or manually `impl std::fmt::Debug for Complex` [INFO] [stdout] help: the trait `std::fmt::Debug` is implemented for `std::option::Option` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/option.rs:594:15 [INFO] [stdout] help: consider annotating `Complex` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Debug)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Complex` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / assert_eq!( [INFO] [stdout] 107 | | parse_complex("1.25,-0.0625"), [INFO] [stdout] 108 | | Some(Complex { [INFO] [stdout] 109 | | re: 1.25, [INFO] [stdout] 110 | | im: -0.0625 [INFO] [stdout] 111 | | }), [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_____^ the trait `std::fmt::Debug` is not implemented for `Complex` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Complex` or manually `impl std::fmt::Debug for Complex` [INFO] [stdout] help: the trait `std::fmt::Debug` is implemented for `std::option::Option` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/option.rs:594:15 [INFO] [stdout] help: consider annotating `Complex` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Debug)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::option::Option>` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(parse_complex(",-0.0625"), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::option::Option> [INFO] [stdout] | std::option::Option> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::cmp::PartialEq` might be missing for `Complex` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::cmp::PartialEq` [INFO] [stdout] help: consider annotating `Complex` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(PartialEq)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Complex` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(parse_complex(",-0.0625"), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `Complex` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Complex` or manually `impl std::fmt::Debug for Complex` [INFO] [stdout] help: the trait `std::fmt::Debug` is implemented for `std::option::Option` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/option.rs:594:15 [INFO] [stdout] help: consider annotating `Complex` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Debug)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Complex` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(parse_complex(",-0.0625"), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `Complex` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Complex` or manually `impl std::fmt::Debug for Complex` [INFO] [stdout] help: the trait `std::fmt::Debug` is implemented for `std::option::Option` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/option.rs:594:15 [INFO] [stdout] help: consider annotating `Complex` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Debug)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Complex` [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / assert_eq!( [INFO] [stdout] 144 | | pixel_to_point( [INFO] [stdout] 145 | | (100, 200), [INFO] [stdout] 146 | | (25, 175), [INFO] [stdout] ... | [INFO] [stdout] 153 | | }, [INFO] [stdout] 154 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____Complex [INFO] [stdout] | Complex<{float}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::cmp::PartialEq>` might be missing for `Complex` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::cmp::PartialEq>` [INFO] [stdout] help: consider annotating `Complex` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(PartialEq)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Complex` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / assert_eq!( [INFO] [stdout] 144 | | pixel_to_point( [INFO] [stdout] 145 | | (100, 200), [INFO] [stdout] 146 | | (25, 175), [INFO] [stdout] ... | [INFO] [stdout] 153 | | }, [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_____^ the trait `std::fmt::Debug` is not implemented for `Complex` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Complex` or manually `impl std::fmt::Debug for Complex` [INFO] [stdout] help: consider annotating `Complex` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Debug)] [INFO] [stdout] 24 | struct Complex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Complex` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use num::Complex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Complex<{float}>` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / assert_eq!( [INFO] [stdout] 144 | | pixel_to_point( [INFO] [stdout] 145 | | (100, 200), [INFO] [stdout] 146 | | (25, 175), [INFO] [stdout] ... | [INFO] [stdout] 153 | | }, [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Debug` is not implemented for `Complex<{float}>` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `Complex<{float}>` or manually `impl std::fmt::Debug for Complex<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Complex` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use num::Complex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Complex<{float}>` by `Complex<{float}>` [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | z = z * z + c; [INFO] [stdout] | - ^ - Complex<{float}> [INFO] [stdout] | | [INFO] [stdout] | Complex<{float}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::ops::Mul` might be missing for `Complex<{float}>` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::ops::Mul` [INFO] [stdout] note: the trait `std::ops::Mul` must be implemented [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/ops/arith.rs:324:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `upper_left` [INFO] [stdout] --> src/main.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 166 | upper_left: Complex, [INFO] [stdout] | ---------- move occurs because `upper_left` has type `Complex`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 171 | for row in 0..bounds.1 { [INFO] [stdout] | ---------------------- inside of this loop [INFO] [stdout] 172 | for column in 0..bounds.0 { [INFO] [stdout] | ------------------------- inside of this loop [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `pixel_to_point` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn pixel_to_point( [INFO] [stdout] | -------------- in this function [INFO] [stdout] ... [INFO] [stdout] 126 | upper_left: Complex, [INFO] [stdout] | ^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `Complex` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `lower_right` [INFO] [stdout] --> src/main.rs:173:75 [INFO] [stdout] | [INFO] [stdout] 167 | lower_right: Complex, [INFO] [stdout] | ----------- move occurs because `lower_right` has type `Complex`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 171 | for row in 0..bounds.1 { [INFO] [stdout] | ---------------------- inside of this loop [INFO] [stdout] 172 | for column in 0..bounds.0 { [INFO] [stdout] | ------------------------- inside of this loop [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ^^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `pixel_to_point` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn pixel_to_point( [INFO] [stdout] | -------------- in this function [INFO] [stdout] ... [INFO] [stdout] 127 | lower_right: Complex, [INFO] [stdout] | ^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `Complex` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0277, E0369, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mandelbrot` (bin "mandelbrot" test) due to 16 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `norm_sqr` found for struct `Complex` in the current scope [INFO] [stdout] --> src/main.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ----------------- method `norm_sqr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | if z.norm_sqr() > 4.0 { [INFO] [stdout] | ^^^^^^^^ method not found in `Complex<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Complex<{float}>` by `Complex<{float}>` [INFO] [stdout] --> src/main.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | z = z * z + c; [INFO] [stdout] | - ^ - Complex<{float}> [INFO] [stdout] | | [INFO] [stdout] | Complex<{float}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `std::ops::Mul` might be missing for `Complex<{float}>` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::ops::Mul` [INFO] [stdout] note: the trait `std::ops::Mul` must be implemented [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/ops/arith.rs:324:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `upper_left` [INFO] [stdout] --> src/main.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 166 | upper_left: Complex, [INFO] [stdout] | ---------- move occurs because `upper_left` has type `Complex`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 171 | for row in 0..bounds.1 { [INFO] [stdout] | ---------------------- inside of this loop [INFO] [stdout] 172 | for column in 0..bounds.0 { [INFO] [stdout] | ------------------------- inside of this loop [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `pixel_to_point` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn pixel_to_point( [INFO] [stdout] | -------------- in this function [INFO] [stdout] ... [INFO] [stdout] 126 | upper_left: Complex, [INFO] [stdout] | ^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `Complex` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `lower_right` [INFO] [stdout] --> src/main.rs:173:75 [INFO] [stdout] | [INFO] [stdout] 167 | lower_right: Complex, [INFO] [stdout] | ----------- move occurs because `lower_right` has type `Complex`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 171 | for row in 0..bounds.1 { [INFO] [stdout] | ---------------------- inside of this loop [INFO] [stdout] 172 | for column in 0..bounds.0 { [INFO] [stdout] | ------------------------- inside of this loop [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ^^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `pixel_to_point` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn pixel_to_point( [INFO] [stdout] | -------------- in this function [INFO] [stdout] ... [INFO] [stdout] 127 | lower_right: Complex, [INFO] [stdout] | ^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `Complex` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 173 | let point = pixel_to_point(bounds, (column, row), upper_left, lower_right); [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0369, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mandelbrot` (bin "mandelbrot") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be0a981d08c3e516746451ff273a0eb0e369cf6737f768e7ae1c339a42a8c493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0a981d08c3e516746451ff273a0eb0e369cf6737f768e7ae1c339a42a8c493", kill_on_drop: false }` [INFO] [stdout] be0a981d08c3e516746451ff273a0eb0e369cf6737f768e7ae1c339a42a8c493