[INFO] cloning repository https://github.com/qbit-org-ua/lolcoin-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qbit-org-ua/lolcoin-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbit-org-ua%2Flolcoin-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbit-org-ua%2Flolcoin-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ec1fff59b24982fedc1aa1c1eac8e0ac6c5effd [INFO] testing qbit-org-ua/lolcoin-2018 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%2Fqbit-org-ua%2Flolcoin-2018" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qbit-org-ua/lolcoin-2018 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/qbit-org-ua/lolcoin-2018 [INFO] finished tweaking git repo https://github.com/qbit-org-ua/lolcoin-2018 [INFO] tweaked toml for git repo https://github.com/qbit-org-ua/lolcoin-2018 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/qbit-org-ua/lolcoin-2018 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] warning: the cargo feature `edition` is now stable and is no longer necessary to be listed in the manifest [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v0.12.8 [INFO] [stderr] Downloaded multi_mut v0.1.3 [INFO] [stderr] Downloaded warp v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26c5dc907c564a915f05eb827bd2cb9cb81c27d531ebbbba2c7c63cd4ba873c0 [INFO] running `Command { std: "docker" "start" "-a" "26c5dc907c564a915f05eb827bd2cb9cb81c27d531ebbbba2c7c63cd4ba873c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26c5dc907c564a915f05eb827bd2cb9cb81c27d531ebbbba2c7c63cd4ba873c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c5dc907c564a915f05eb827bd2cb9cb81c27d531ebbbba2c7c63cd4ba873c0", kill_on_drop: false }` [INFO] [stdout] 26c5dc907c564a915f05eb827bd2cb9cb81c27d531ebbbba2c7c63cd4ba873c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] ea0a51be1d0e227bf8d25d1098d8ba7e05489e9ebf0cc5e1e9e6914997341ce0 [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" "ea0a51be1d0e227bf8d25d1098d8ba7e05489e9ebf0cc5e1e9e6914997341ce0", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` is now stable and is no longer necessary to be listed in the manifest [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling futures v0.1.23 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling matches v0.1.7 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling multi_mut v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf v0.7.22 [INFO] [stderr] Compiling digest v0.7.5 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling tokio-executor v0.1.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.5 [INFO] [stderr] Compiling tungstenite v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-reactor v0.1.3 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio v0.1.7 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling hyper v0.12.8 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling warp v0.1.2 [INFO] [stderr] Compiling lolcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rust_2018_preview, uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rust_2018_preview, uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/database.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | impl ValidatedTransfer<'a> { [INFO] [stdout] | - ^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `transfers` [INFO] [stdout] --> src/database.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 91 | fn apply_transfers(&mut self, transfers: &[Transfer]) -> Result<(), Error> { [INFO] [stdout] | ----------- help: add explicit lifetime `'static` to the type of `transfers`: `&'static [database::Transfer]` [INFO] [stdout] 92 | for transfer in transfers { [INFO] [stdout] 93 | self.validate_transfer(transfer)?.commit(); [INFO] [stdout] | ^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter in function call due to conflicting requirements [INFO] [stdout] --> src/database.rs:223:42 [INFO] [stdout] | [INFO] [stdout] 223 | let mut users = match self.users.write() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 222:5... [INFO] [stdout] --> src/database.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / pub fn transfer(&self, from: UserId, to: UserId, amount: Coins) -> Result<(), TransferError> { [INFO] [stdout] 223 | | let mut users = match self.users.write() { [INFO] [stdout] 224 | | Err(_) => { [INFO] [stdout] 225 | | return Err(TransferErrorKind::UnexpectedError( [INFO] [stdout] ... | [INFO] [stdout] 242 | | Ok(()) [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> src/database.rs:223:31 [INFO] [stdout] | [INFO] [stdout] 223 | let mut users = match self.users.write() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/database.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | validated_transfer.commit(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected `&mut database::ValidatedTransfer<'static>` [INFO] [stdout] found `&mut database::ValidatedTransfer<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0495, E0554, E0621, E0705. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lolcoin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ea0a51be1d0e227bf8d25d1098d8ba7e05489e9ebf0cc5e1e9e6914997341ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0a51be1d0e227bf8d25d1098d8ba7e05489e9ebf0cc5e1e9e6914997341ce0", kill_on_drop: false }` [INFO] [stdout] ea0a51be1d0e227bf8d25d1098d8ba7e05489e9ebf0cc5e1e9e6914997341ce0