[INFO] cloning repository https://github.com/OliverEvans96/payments-engine-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OliverEvans96/payments-engine-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliverEvans96%2Fpayments-engine-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliverEvans96%2Fpayments-engine-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d2ef17c791b93c85e7d6f0693304b6f9538eff2 [INFO] checking OliverEvans96/payments-engine-example/6d2ef17c791b93c85e7d6f0693304b6f9538eff2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliverEvans96%2Fpayments-engine-example" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OliverEvans96/payments-engine-example on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OliverEvans96/payments-engine-example [INFO] finished tweaking git repo https://github.com/OliverEvans96/payments-engine-example [INFO] tweaked toml for git repo https://github.com/OliverEvans96/payments-engine-example written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/OliverEvans96/payments-engine-example 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab906ef1ce8c821a80e80a2bb5231ef138701aa61551150dc30d6bfb9c11a288 [INFO] running `Command { std: "docker" "start" "-a" "ab906ef1ce8c821a80e80a2bb5231ef138701aa61551150dc30d6bfb9c11a288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab906ef1ce8c821a80e80a2bb5231ef138701aa61551150dc30d6bfb9c11a288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab906ef1ce8c821a80e80a2bb5231ef138701aa61551150dc30d6bfb9c11a288", kill_on_drop: false }` [INFO] [stdout] ab906ef1ce8c821a80e80a2bb5231ef138701aa61551150dc30d6bfb9c11a288 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f3380681d9b8bf97520e8b7bb1b4354286335c247c90ef0b9b67ad0d4360ac [INFO] running `Command { std: "docker" "start" "-a" "21f3380681d9b8bf97520e8b7bb1b4354286335c247c90ef0b9b67ad0d4360ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking payments-engine-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/validate.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn validate_post_dispute<'a, 't, 'd, T: PostDispute>( [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'t` as defined here... [INFO] [stdout] ... [INFO] [stdout] 245 | validate_post_dispute_for_existing_tx(post, disputed_tx, accounts, disputes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 228 | pub fn validate_post_dispute<'a, 't, 'd, T: PostDispute + 't>( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/validate.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn validate_post_dispute<'a, 't, 'd, T: PostDispute>( [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'t` as defined here... [INFO] [stdout] ... [INFO] [stdout] 245 | validate_post_dispute_for_existing_tx(post, disputed_tx, accounts, disputes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 228 | pub fn validate_post_dispute<'a, 't, 'd, T: PostDispute + 't>( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `payments-engine-example` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `payments-engine-example` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "21f3380681d9b8bf97520e8b7bb1b4354286335c247c90ef0b9b67ad0d4360ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f3380681d9b8bf97520e8b7bb1b4354286335c247c90ef0b9b67ad0d4360ac", kill_on_drop: false }` [INFO] [stdout] 21f3380681d9b8bf97520e8b7bb1b4354286335c247c90ef0b9b67ad0d4360ac