[INFO] fetching crate fp_rust 0.1.39... [INFO] checking fp_rust-0.1.39 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate fp_rust 0.1.39 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fp_rust 0.1.39 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fp_rust 0.1.39 [INFO] finished tweaking crates.io crate fp_rust 0.1.39 [INFO] tweaked toml for crates.io crate fp_rust 0.1.39 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cef09f3d4f307e0bf55cf057bd20b101c2f9ae7ca14c1d629def75c724a8d7d4 [INFO] running `Command { std: "docker" "start" "-a" "cef09f3d4f307e0bf55cf057bd20b101c2f9ae7ca14c1d629def75c724a8d7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cef09f3d4f307e0bf55cf057bd20b101c2f9ae7ca14c1d629def75c724a8d7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef09f3d4f307e0bf55cf057bd20b101c2f9ae7ca14c1d629def75c724a8d7d4", kill_on_drop: false }` [INFO] [stdout] cef09f3d4f307e0bf55cf057bd20b101c2f9ae7ca14c1d629def75c724a8d7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ceb4574340075eb454f2fae5fd81d5acc2855bbcb0548b04123d9852d973a40 [INFO] running `Command { std: "docker" "start" "-a" "4ceb4574340075eb454f2fae5fd81d5acc2855bbcb0548b04123d9852d973a40", kill_on_drop: false }` [INFO] [stderr] Checking fp_rust v0.1.39 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cor.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | type CorEffect = FnMut(Arc>>) + Send + Sync + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Arc>>) + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | ob_handler: Option>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | sub_handler: Option>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | ob: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | sub: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn observe_on(&mut self, h: Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn subscribe_on(&mut self, h: Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/publisher.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | sub_handler: Option>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/publisher.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_with_handlers(h: Option>>) -> Publisher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/publisher.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn subscribe_on(&mut self, h: Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sync.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | handler: Arc>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sync.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | handler: Arc>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | func: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cor.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | type CorEffect = FnMut(Arc>>) + Send + Sync + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Arc>>) + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | ob_handler: Option>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | sub_handler: Option>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | ob: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | sub: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn observe_on(&mut self, h: Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monadio.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn subscribe_on(&mut self, h: Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/publisher.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | sub_handler: Option>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/publisher.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_with_handlers(h: Option>>) -> Publisher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/publisher.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn subscribe_on(&mut self, h: Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Handler + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sync.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | handler: Arc>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sync.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | handler: Arc>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | func: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | )*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 330 | / map_insert!(actual, [ [INFO] [stdout] 331 | | a : "2", [INFO] [stdout] 332 | | b : "4", [INFO] [stdout] 333 | | c : "6", [INFO] [stdout] 334 | | ]); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `map_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | )*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 337 | / map_insert!(actual, { [INFO] [stdout] 338 | | a : "2", [INFO] [stdout] 339 | | b : "4", [INFO] [stdout] 340 | | c : "6", [INFO] [stdout] 341 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | )*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 350 | / map_insert!(actual, [ [INFO] [stdout] 351 | | "1" => "2", [INFO] [stdout] 352 | | "3" => "4", [INFO] [stdout] 353 | | "5" => "6", [INFO] [stdout] 354 | | ]); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | )*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 357 | / map_insert!(actual, { [INFO] [stdout] 358 | | "1" => "2", [INFO] [stdout] 359 | | "3" => "4", [INFO] [stdout] 360 | | "5" => "6", [INFO] [stdout] 361 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | )*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 365 | map_insert!(actual, ["1", "2", "3", "4", "5", "6",]); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fp.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | v.into_iter().reduce(f) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] --> src/fp.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn reduce(mut self, f: F) -> Option [INFO] [stdout] 195 | | where [INFO] [stdout] 196 | | Self: Sized, [INFO] [stdout] 197 | | F: FnMut(T, T) -> T, [INFO] [stdout] | |____________________________^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::vec::IntoIter` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 205 | Reduce::reduce(v.into_iter(), f) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 205 | Iterator::reduce(v.into_iter(), f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fp_rust` due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/fp.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | v.into_iter().reduce(f) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] --> src/fp.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn reduce(mut self, f: F) -> Option [INFO] [stdout] 195 | | where [INFO] [stdout] 196 | | Self: Sized, [INFO] [stdout] 197 | | F: FnMut(T, T) -> T, [INFO] [stdout] | |____________________________^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::vec::IntoIter` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 205 | Reduce::reduce(v.into_iter(), f) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 205 | Iterator::reduce(v.into_iter(), f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4ceb4574340075eb454f2fae5fd81d5acc2855bbcb0548b04123d9852d973a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ceb4574340075eb454f2fae5fd81d5acc2855bbcb0548b04123d9852d973a40", kill_on_drop: false }` [INFO] [stdout] 4ceb4574340075eb454f2fae5fd81d5acc2855bbcb0548b04123d9852d973a40