[INFO] updating cached repository https://github.com/Lukasa/investments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d41e36237539a97eade800ebb0cf0c869e84dbb7 [INFO] testing Lukasa/investments against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasa%2Finvestments" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lukasa/investments on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lukasa/investments [INFO] finished tweaking git repo https://github.com/Lukasa/investments [INFO] tweaked toml for git repo https://github.com/Lukasa/investments written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Lukasa/investments already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 374197c0b73a2c61cfa98ffc9fcc5017c6ec30b1008d95533c52f76325195d03 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "374197c0b73a2c61cfa98ffc9fcc5017c6ec30b1008d95533c52f76325195d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "374197c0b73a2c61cfa98ffc9fcc5017c6ec30b1008d95533c52f76325195d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "374197c0b73a2c61cfa98ffc9fcc5017c6ec30b1008d95533c52f76325195d03", kill_on_drop: false }` [INFO] [stdout] 374197c0b73a2c61cfa98ffc9fcc5017c6ec30b1008d95533c52f76325195d03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c0149306c85b4ecf2f3f1a4a2cd1dc291e7d6248ab08e908bcad1c28f070d94 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4c0149306c85b4ecf2f3f1a4a2cd1dc291e7d6248ab08e908bcad1c28f070d94", kill_on_drop: false }` [INFO] [stderr] Compiling debug-builders v0.1.0 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling postgres v0.9.6 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling investments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/currency.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let t = try!(raw.read_i64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/currency.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | try!(w.write_i64::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/balance.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDateTime, UTC}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/currency.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | '0' ... '9' => {result = (result * 10) + (c as i64 - '0' as i64)} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/deposit.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDateTime, DateTime, UTC}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of lifetime arguments: expected 1, found 2 [INFO] [stdout] --> src/main.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | fn prepare_interface<'a, 'b>() -> ArgMatches<'a, 'b> { [INFO] [stdout] | ^^ unexpected lifetime argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of lifetime arguments: expected 2, found 6 [INFO] [stdout] --> src/account.rs:60:65 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_subcommands<'a, 'b, 'c, 'd, 'e, 'f>() -> App<'a, 'b, 'c, 'd, 'e, 'f> { [INFO] [stdout] | ^^ ^^ ^^ ^^ unexpected lifetime argument [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected lifetime argument [INFO] [stdout] | | unexpected lifetime argument [INFO] [stdout] | unexpected lifetime argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of lifetime arguments: expected 2, found 6 [INFO] [stdout] --> src/balance.rs:70:65 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_subcommands<'a, 'b, 'c, 'd, 'e, 'f>() -> App<'a, 'b, 'c, 'd, 'e, 'f> { [INFO] [stdout] | ^^ ^^ ^^ ^^ unexpected lifetime argument [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected lifetime argument [INFO] [stdout] | | unexpected lifetime argument [INFO] [stdout] | unexpected lifetime argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of lifetime arguments: expected 2, found 6 [INFO] [stdout] --> src/deposit.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_subcommands<'a, 'b, 'c, 'd, 'e, 'f>() -> App<'a, 'b, 'c, 'd, 'e, 'f> { [INFO] [stdout] | ^^ ^^ ^^ ^^ unexpected lifetime argument [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected lifetime argument [INFO] [stdout] | | unexpected lifetime argument [INFO] [stdout] | unexpected lifetime argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `investments`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4c0149306c85b4ecf2f3f1a4a2cd1dc291e7d6248ab08e908bcad1c28f070d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0149306c85b4ecf2f3f1a4a2cd1dc291e7d6248ab08e908bcad1c28f070d94", kill_on_drop: false }` [INFO] [stdout] 4c0149306c85b4ecf2f3f1a4a2cd1dc291e7d6248ab08e908bcad1c28f070d94