[INFO] crate downcast-rs 1.0.3 is already in cache [INFO] extracting crate downcast-rs 1.0.3 into work/ex/clippy-test-run/sources/stable/reg/downcast-rs/1.0.3 [INFO] extracting crate downcast-rs 1.0.3 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/downcast-rs/1.0.3 [INFO] validating manifest of downcast-rs-1.0.3 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of downcast-rs-1.0.3 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing downcast-rs-1.0.3 [INFO] finished frobbing downcast-rs-1.0.3 [INFO] frobbed toml for downcast-rs-1.0.3 written to work/ex/clippy-test-run/sources/stable/reg/downcast-rs/1.0.3/Cargo.toml [INFO] started frobbing downcast-rs-1.0.3 [INFO] finished frobbing downcast-rs-1.0.3 [INFO] frobbed toml for downcast-rs-1.0.3 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/downcast-rs/1.0.3/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting downcast-rs-1.0.3 against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/downcast-rs/1.0.3:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dclippy::into_iter_on_array" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5446af94e74c5bb883e385eae5b21a048070fc29fa892f4b41e115dcc16a2787 [INFO] running `"docker" "start" "-a" "5446af94e74c5bb883e385eae5b21a048070fc29fa892f4b41e115dcc16a2787"` [INFO] [stderr] Checking downcast-rs v1.0.3 (/opt/crater/workdir) [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / test_mod!(non_generic, trait Base {}, { [INFO] [stderr] 348 | | trait Base: Downcast {} [INFO] [stderr] 349 | | impl_downcast!(Base); [INFO] [stderr] 350 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::blacklisted_name)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / test_mod!(non_generic, trait Base {}, { [INFO] [stderr] 348 | | trait Base: Downcast {} [INFO] [stderr] 349 | | impl_downcast!(Base); [INFO] [stderr] 350 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / test_mod!(non_generic, trait Base {}, { [INFO] [stderr] 348 | | trait Base: Downcast {} [INFO] [stderr] 349 | | impl_downcast!(Base); [INFO] [stderr] 350 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 347 | / test_mod!(non_generic, trait Base {}, { [INFO] [stderr] 348 | | trait Base: Downcast {} [INFO] [stderr] 349 | | impl_downcast!(Base); [INFO] [stderr] 350 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 347 | / test_mod!(non_generic, trait Base {}, { [INFO] [stderr] 348 | | trait Base: Downcast {} [INFO] [stderr] 349 | | impl_downcast!(Base); [INFO] [stderr] 350 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 352 | / test_mod!(generic, trait Base {}, { [INFO] [stderr] 353 | | trait Base: Downcast {} [INFO] [stderr] 354 | | impl_downcast!(Base); [INFO] [stderr] 355 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 352 | / test_mod!(generic, trait Base {}, { [INFO] [stderr] 353 | | trait Base: Downcast {} [INFO] [stderr] 354 | | impl_downcast!(Base); [INFO] [stderr] 355 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 352 | / test_mod!(generic, trait Base {}, { [INFO] [stderr] 353 | | trait Base: Downcast {} [INFO] [stderr] 354 | | impl_downcast!(Base); [INFO] [stderr] 355 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:352:5 [INFO] [stderr] | [INFO] [stderr] 352 | / test_mod!(generic, trait Base {}, { [INFO] [stderr] 353 | | trait Base: Downcast {} [INFO] [stderr] 354 | | impl_downcast!(Base); [INFO] [stderr] 355 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:352:5 [INFO] [stderr] | [INFO] [stderr] 352 | / test_mod!(generic, trait Base {}, { [INFO] [stderr] 353 | | trait Base: Downcast {} [INFO] [stderr] 354 | | impl_downcast!(Base); [INFO] [stderr] 355 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 357 | / test_mod!(constrained_generic, trait Base {}, { [INFO] [stderr] 358 | | // Should work even if standard objects in the prelude are aliased to something else. [INFO] [stderr] 359 | | #[allow(dead_code)] struct Box; [INFO] [stderr] 360 | | #[allow(dead_code)] struct Option; [INFO] [stderr] ... | [INFO] [stderr] 363 | | impl_downcast!(Base where T: Copy); [INFO] [stderr] 364 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 357 | / test_mod!(constrained_generic, trait Base {}, { [INFO] [stderr] 358 | | // Should work even if standard objects in the prelude are aliased to something else. [INFO] [stderr] 359 | | #[allow(dead_code)] struct Box; [INFO] [stderr] 360 | | #[allow(dead_code)] struct Option; [INFO] [stderr] ... | [INFO] [stderr] 363 | | impl_downcast!(Base where T: Copy); [INFO] [stderr] 364 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 357 | / test_mod!(constrained_generic, trait Base {}, { [INFO] [stderr] 358 | | // Should work even if standard objects in the prelude are aliased to something else. [INFO] [stderr] 359 | | #[allow(dead_code)] struct Box; [INFO] [stderr] 360 | | #[allow(dead_code)] struct Option; [INFO] [stderr] ... | [INFO] [stderr] 363 | | impl_downcast!(Base where T: Copy); [INFO] [stderr] 364 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | / test_mod!(constrained_generic, trait Base {}, { [INFO] [stderr] 358 | | // Should work even if standard objects in the prelude are aliased to something else. [INFO] [stderr] 359 | | #[allow(dead_code)] struct Box; [INFO] [stderr] 360 | | #[allow(dead_code)] struct Option; [INFO] [stderr] ... | [INFO] [stderr] 363 | | impl_downcast!(Base where T: Copy); [INFO] [stderr] 364 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | / test_mod!(constrained_generic, trait Base {}, { [INFO] [stderr] 358 | | // Should work even if standard objects in the prelude are aliased to something else. [INFO] [stderr] 359 | | #[allow(dead_code)] struct Box; [INFO] [stderr] 360 | | #[allow(dead_code)] struct Option; [INFO] [stderr] ... | [INFO] [stderr] 363 | | impl_downcast!(Base where T: Copy); [INFO] [stderr] 364 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 366 | / test_mod!(associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 367 | | trait Base: Downcast { type H; } [INFO] [stderr] 368 | | impl_downcast!(Base assoc H); [INFO] [stderr] 369 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 366 | / test_mod!(associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 367 | | trait Base: Downcast { type H; } [INFO] [stderr] 368 | | impl_downcast!(Base assoc H); [INFO] [stderr] 369 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 366 | / test_mod!(associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 367 | | trait Base: Downcast { type H; } [INFO] [stderr] 368 | | impl_downcast!(Base assoc H); [INFO] [stderr] 369 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:366:5 [INFO] [stderr] | [INFO] [stderr] 366 | / test_mod!(associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 367 | | trait Base: Downcast { type H; } [INFO] [stderr] 368 | | impl_downcast!(Base assoc H); [INFO] [stderr] 369 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:366:5 [INFO] [stderr] | [INFO] [stderr] 366 | / test_mod!(associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 367 | | trait Base: Downcast { type H; } [INFO] [stderr] 368 | | impl_downcast!(Base assoc H); [INFO] [stderr] 369 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 371 | / test_mod!(constrained_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 372 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 373 | | impl_downcast!(Base assoc H where H: Copy); [INFO] [stderr] 374 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 371 | / test_mod!(constrained_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 372 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 373 | | impl_downcast!(Base assoc H where H: Copy); [INFO] [stderr] 374 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 371 | / test_mod!(constrained_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 372 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 373 | | impl_downcast!(Base assoc H where H: Copy); [INFO] [stderr] 374 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:371:5 [INFO] [stderr] | [INFO] [stderr] 371 | / test_mod!(constrained_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 372 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 373 | | impl_downcast!(Base assoc H where H: Copy); [INFO] [stderr] 374 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:371:5 [INFO] [stderr] | [INFO] [stderr] 371 | / test_mod!(constrained_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 372 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 373 | | impl_downcast!(Base assoc H where H: Copy); [INFO] [stderr] 374 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | / test_mod!(param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 377 | | trait Base: Downcast { type H; } [INFO] [stderr] 378 | | impl_downcast!(Base assoc H); [INFO] [stderr] 379 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | / test_mod!(param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 377 | | trait Base: Downcast { type H; } [INFO] [stderr] 378 | | impl_downcast!(Base assoc H); [INFO] [stderr] 379 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | / test_mod!(param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 377 | | trait Base: Downcast { type H; } [INFO] [stderr] 378 | | impl_downcast!(Base assoc H); [INFO] [stderr] 379 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:376:5 [INFO] [stderr] | [INFO] [stderr] 376 | / test_mod!(param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 377 | | trait Base: Downcast { type H; } [INFO] [stderr] 378 | | impl_downcast!(Base assoc H); [INFO] [stderr] 379 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:376:5 [INFO] [stderr] | [INFO] [stderr] 376 | / test_mod!(param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 377 | | trait Base: Downcast { type H; } [INFO] [stderr] 378 | | impl_downcast!(Base assoc H); [INFO] [stderr] 379 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | / test_mod!(constrained_param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 382 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 383 | | impl_downcast!(Base assoc H where T: Clone, H: Copy); [INFO] [stderr] 384 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | / test_mod!(constrained_param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 382 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 383 | | impl_downcast!(Base assoc H where T: Clone, H: Copy); [INFO] [stderr] 384 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | / test_mod!(constrained_param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 382 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 383 | | impl_downcast!(Base assoc H where T: Clone, H: Copy); [INFO] [stderr] 384 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:381:5 [INFO] [stderr] | [INFO] [stderr] 381 | / test_mod!(constrained_param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 382 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 383 | | impl_downcast!(Base assoc H where T: Clone, H: Copy); [INFO] [stderr] 384 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:381:5 [INFO] [stderr] | [INFO] [stderr] 381 | / test_mod!(constrained_param_and_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 382 | | trait Base: Downcast { type H: Copy; } [INFO] [stderr] 383 | | impl_downcast!(Base assoc H where T: Clone, H: Copy); [INFO] [stderr] 384 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | / test_mod!(concrete_parametrized, trait Base {}, { [INFO] [stderr] 387 | | trait Base: Downcast {} [INFO] [stderr] 388 | | impl_downcast!(concrete Base); [INFO] [stderr] 389 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | / test_mod!(concrete_parametrized, trait Base {}, { [INFO] [stderr] 387 | | trait Base: Downcast {} [INFO] [stderr] 388 | | impl_downcast!(concrete Base); [INFO] [stderr] 389 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | / test_mod!(concrete_parametrized, trait Base {}, { [INFO] [stderr] 387 | | trait Base: Downcast {} [INFO] [stderr] 388 | | impl_downcast!(concrete Base); [INFO] [stderr] 389 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:386:5 [INFO] [stderr] | [INFO] [stderr] 386 | / test_mod!(concrete_parametrized, trait Base {}, { [INFO] [stderr] 387 | | trait Base: Downcast {} [INFO] [stderr] 388 | | impl_downcast!(concrete Base); [INFO] [stderr] 389 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:386:5 [INFO] [stderr] | [INFO] [stderr] 386 | / test_mod!(concrete_parametrized, trait Base {}, { [INFO] [stderr] 387 | | trait Base: Downcast {} [INFO] [stderr] 388 | | impl_downcast!(concrete Base); [INFO] [stderr] 389 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 391 | / test_mod!(concrete_associated, trait Base { type H = u32; }, type Base, { [INFO] [stderr] 392 | | trait Base: Downcast { type H; } [INFO] [stderr] 393 | | impl_downcast!(concrete Base assoc H=u32); [INFO] [stderr] 394 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 391 | / test_mod!(concrete_associated, trait Base { type H = u32; }, type Base, { [INFO] [stderr] 392 | | trait Base: Downcast { type H; } [INFO] [stderr] 393 | | impl_downcast!(concrete Base assoc H=u32); [INFO] [stderr] 394 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 391 | / test_mod!(concrete_associated, trait Base { type H = u32; }, type Base, { [INFO] [stderr] 392 | | trait Base: Downcast { type H; } [INFO] [stderr] 393 | | impl_downcast!(concrete Base assoc H=u32); [INFO] [stderr] 394 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:391:5 [INFO] [stderr] | [INFO] [stderr] 391 | / test_mod!(concrete_associated, trait Base { type H = u32; }, type Base, { [INFO] [stderr] 392 | | trait Base: Downcast { type H; } [INFO] [stderr] 393 | | impl_downcast!(concrete Base assoc H=u32); [INFO] [stderr] 394 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:391:5 [INFO] [stderr] | [INFO] [stderr] 391 | / test_mod!(concrete_associated, trait Base { type H = u32; }, type Base, { [INFO] [stderr] 392 | | trait Base: Downcast { type H; } [INFO] [stderr] 393 | | impl_downcast!(concrete Base assoc H=u32); [INFO] [stderr] 394 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:303:33 [INFO] [stderr] | [INFO] [stderr] 303 | if let Some(foo) = base.downcast_mut::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | / test_mod!(concrete_parametrized_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 397 | | trait Base: Downcast { type H; } [INFO] [stderr] 398 | | impl_downcast!(concrete Base assoc H=f32); [INFO] [stderr] 399 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `foo` [INFO] [stderr] --> src/lib.rs:314:33 [INFO] [stderr] | [INFO] [stderr] 314 | if let Some(foo) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | / test_mod!(concrete_parametrized_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 397 | | trait Base: Downcast { type H; } [INFO] [stderr] 398 | | impl_downcast!(concrete Base assoc H=f32); [INFO] [stderr] 399 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] warning: use of a blacklisted/placeholder name `bar` [INFO] [stderr] --> src/lib.rs:316:40 [INFO] [stderr] | [INFO] [stderr] 316 | } else if let Some(bar) = base.downcast_ref::() { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | / test_mod!(concrete_parametrized_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 397 | | trait Base: Downcast { type H; } [INFO] [stderr] 398 | | impl_downcast!(concrete Base assoc H=f32); [INFO] [stderr] 399 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:396:5 [INFO] [stderr] | [INFO] [stderr] 396 | / test_mod!(concrete_parametrized_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 397 | | trait Base: Downcast { type H; } [INFO] [stderr] 398 | | impl_downcast!(concrete Base assoc H=f32); [INFO] [stderr] 399 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:396:5 [INFO] [stderr] | [INFO] [stderr] 396 | / test_mod!(concrete_parametrized_associated, trait Base { type H = f32; }, type Base, { [INFO] [stderr] 397 | | trait Base: Downcast { type H; } [INFO] [stderr] 398 | | impl_downcast!(concrete Base assoc H=f32); [INFO] [stderr] 399 | | }); [INFO] [stderr] | |_______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `downcast-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5446af94e74c5bb883e385eae5b21a048070fc29fa892f4b41e115dcc16a2787"` [INFO] running `"docker" "rm" "-f" "5446af94e74c5bb883e385eae5b21a048070fc29fa892f4b41e115dcc16a2787"` [INFO] [stdout] 5446af94e74c5bb883e385eae5b21a048070fc29fa892f4b41e115dcc16a2787