[INFO] fetching crate funlib 0.1.8... [INFO] checking funlib-0.1.8 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate funlib 0.1.8 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate funlib 0.1.8 [INFO] finished tweaking crates.io crate funlib 0.1.8 [INFO] tweaked toml for crates.io crate funlib 0.1.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate funlib 0.1.8 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ef26a3ad5661472bc98beffc54bb0ad91630ee845e7a9a3c3e183992b05e35d [INFO] running `Command { std: "docker" "start" "-a" "0ef26a3ad5661472bc98beffc54bb0ad91630ee845e7a9a3c3e183992b05e35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ef26a3ad5661472bc98beffc54bb0ad91630ee845e7a9a3c3e183992b05e35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef26a3ad5661472bc98beffc54bb0ad91630ee845e7a9a3c3e183992b05e35d", kill_on_drop: false }` [INFO] [stdout] 0ef26a3ad5661472bc98beffc54bb0ad91630ee845e7a9a3c3e183992b05e35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe2fde6c83b14b91a4730ec10794646d2626c5f87ae6c3e1dc34443d374e93d [INFO] running `Command { std: "docker" "start" "-a" "4fe2fde6c83b14b91a4730ec10794646d2626c5f87ae6c3e1dc34443d374e93d", kill_on_drop: false }` [INFO] [stderr] Checking funlib-macros v0.1.8 [INFO] [stderr] Checking funlib v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/foldable/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 33 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/foldable/mod.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 55 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool; [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 178 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool; [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 242 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/functor/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | laws!(Box, Box::new(5i32), |x| x + 2, |x| x * 5); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/applicative/mod.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(Box::new(4), Box::new(2).ap(Box::new(f))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/applicative/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(Box::new(4), Box::new(2).ap(Box::new(&double))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/semigroup/mod.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(Box::new(res), Box::new(v1).mappend(&Box::new(v2))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/semigroup/mod.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ne!(Box::new(res), Box::new(v1).mappend(&Box::new(v2))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/monoid/mod.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | laws2!(Box, i64, Box::new(5i64), Box::new(6i64), Box::new(10i64)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/monoid/mod.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | laws2!(Box, i64, Box::new(5i64), Box::new(6i64), Box::new(10i64)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/foldable/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 33 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/foldable/mod.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 55 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool; [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 178 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | fn find(&'r self, f: F) -> Option<&A> where F: Fn(&A) -> bool; [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'r` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 242 | fn find(&'r self, f: F) -> Option<&'r A> where F: Fn(&A) -> bool; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "4fe2fde6c83b14b91a4730ec10794646d2626c5f87ae6c3e1dc34443d374e93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe2fde6c83b14b91a4730ec10794646d2626c5f87ae6c3e1dc34443d374e93d", kill_on_drop: false }` [INFO] [stdout] 4fe2fde6c83b14b91a4730ec10794646d2626c5f87ae6c3e1dc34443d374e93d