[INFO] cloning repository https://github.com/Bixkog/dotastats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bixkog/dotastats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBixkog%2Fdotastats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBixkog%2Fdotastats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bbfc8eebd28c4be8e6bda14551cc97bbf363c73 [INFO] testing Bixkog/dotastats against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBixkog%2Fdotastats" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bixkog/dotastats on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Bixkog/dotastats [INFO] finished tweaking git repo https://github.com/Bixkog/dotastats [INFO] tweaked toml for git repo https://github.com/Bixkog/dotastats written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Bixkog/dotastats already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd42007678cda624293481f73841eca6be43d7cf7cb5a4cc9434416f085fe72 [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" "1cd42007678cda624293481f73841eca6be43d7cf7cb5a4cc9434416f085fe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd42007678cda624293481f73841eca6be43d7cf7cb5a4cc9434416f085fe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd42007678cda624293481f73841eca6be43d7cf7cb5a4cc9434416f085fe72", kill_on_drop: false }` [INFO] [stdout] 1cd42007678cda624293481f73841eca6be43d7cf7cb5a4cc9434416f085fe72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e07450633329580242d19d1ca6da00f6e78c3bb229f013919b0513216e2984 [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" "06e07450633329580242d19d1ca6da00f6e78c3bb229f013919b0513216e2984", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling inlinable_string v0.1.11 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling os_str_bytes v2.3.2 [INFO] [stderr] Compiling ubyte v0.10.0 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.1.0 (https://github.com/SergioBenitez/proc-macro2-diagnostics.git?rev=13fbb43#13fbb43d) [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling uncased v0.9.3 [INFO] [stderr] Compiling cookie v0.15.0-dev (https://github.com/SergioBenitez/cookie-rs.git?rev=9675944#96759448) [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git#8da034ab) [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git#8da034ab) [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling os_info v2.0.8 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v2.0.0 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling polyval v0.4.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling hkdf v0.9.0 [INFO] [stderr] Compiling aes-soft v0.5.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling aes v0.5.0 [INFO] [stderr] Compiling aes-gcm v0.7.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling mio v0.7.5 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling crossterm v0.17.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling scanpw v0.1.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling pear_codegen v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556) [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling ref-cast v1.0.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling pear v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556) [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.2.2 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.5.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling bson v1.1.0 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling mongodb v1.1.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git#8da034ab) [INFO] [stderr] Compiling dotastats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/match_stats.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene, decl_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/data_retrieval/extractor.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 85 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/match_stats.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 123 | / pub fn is_won(&self) -> StatsResult { [INFO] [stdout] 124 | | Ok(self.players_stats[0].win? == 1) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/match_stats.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 127 | / pub fn get_team(&self) -> StatsResult> { [INFO] [stdout] 128 | | let mut team = vec![]; [INFO] [stdout] 129 | | for p in self.players_stats.iter() { [INFO] [stdout] 130 | | team.push(p.personaname.clone()?); //((p.personaname.clone()?, p.lane?)); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, StatsError>` [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | Ok(team) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, StatsError>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/match_stats.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn get_player_hero(&self, player_name: &PlayerName) -> StatsResult { [INFO] [stdout] 136 | | for p in self.players_stats.iter() { [INFO] [stdout] 137 | | if p.personaname.as_ref()? == player_name { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 138 | | return Ok(p.hero_id?); [INFO] [stdout] ... | [INFO] [stdout] 141 | | Err(StatsError::NoTargetPlayer()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/match_stats.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn get_player_hero(&self, player_name: &PlayerName) -> StatsResult { [INFO] [stdout] 136 | | for p in self.players_stats.iter() { [INFO] [stdout] 137 | | if p.personaname.as_ref()? == player_name { [INFO] [stdout] 138 | | return Ok(p.hero_id?); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 141 | | Err(StatsError::NoTargetPlayer()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dotastats` due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "06e07450633329580242d19d1ca6da00f6e78c3bb229f013919b0513216e2984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e07450633329580242d19d1ca6da00f6e78c3bb229f013919b0513216e2984", kill_on_drop: false }` [INFO] [stdout] 06e07450633329580242d19d1ca6da00f6e78c3bb229f013919b0513216e2984