[INFO] updating cached repository https://github.com/ivanceras/dota-sql [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d49ed00602526db350fe84bba671349095b91da7 [INFO] checking ivanceras/dota-sql against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 99% (1260/1272) Checking out files: 100% (1272/1272) Checking out files: 100% (1272/1272), done. [INFO] validating manifest of git repo https://github.com/ivanceras/dota-sql on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ivanceras/dota-sql [INFO] finished tweaking git repo https://github.com/ivanceras/dota-sql [INFO] tweaked toml for git repo https://github.com/ivanceras/dota-sql written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ivanceras/dota-sql already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7d6dd6e52a42763436cfd5f8645bd38fdcf1c4c4ad8cd8de994d64924a8a877b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7d6dd6e52a42763436cfd5f8645bd38fdcf1c4c4ad8cd8de994d64924a8a877b"` [INFO] [stderr] Checking hex v0.3.1 [INFO] [stderr] Checking serde_json v1.0.8 [INFO] [stderr] Checking dota v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2) [INFO] [stderr] --> src/heroes.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | let heroes_json = include_str!("../dotaconstants/build/hero_names.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/abilities.json: No such file or directory (os error 2) [INFO] [stderr] --> src/abilities.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | let abilities_json = include_str!("../dotaconstants/build/abilities.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2) [INFO] [stderr] --> src/heroes.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | let heroes_json = include_str!("../dotaconstants/build/hero_names.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/abilities.json: No such file or directory (os error 2) [INFO] [stderr] --> src/abilities.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | let abilities_json = include_str!("../dotaconstants/build/abilities.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2) [INFO] [stderr] --> src/abilities.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2) [INFO] [stderr] --> src/abilities.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/hero_abilities.json: No such file or directory (os error 2) [INFO] [stderr] --> src/hero_ability.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | let hero_abilities_json = include_str!("../dotaconstants/build/hero_abilities.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2) [INFO] [stderr] --> src/hero_ability.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2) [INFO] [stderr] --> src/hero_ability.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | let hero_names_json = include_str!("../dotaconstants/build/hero_names.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/items.json: No such file or directory (os error 2) [INFO] [stderr] --> src/items.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | let items_json = include_str!("../dotaconstants/build/items.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/hero_abilities.json: No such file or directory (os error 2) [INFO] [stderr] --> src/hero_ability.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | let hero_abilities_json = include_str!("../dotaconstants/build/hero_abilities.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2) [INFO] [stderr] --> src/hero_ability.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2) [INFO] [stderr] --> src/hero_ability.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | let hero_names_json = include_str!("../dotaconstants/build/hero_names.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: couldn't read src/../dotaconstants/build/items.json: No such file or directory (os error 2) [INFO] [stderr] --> src/items.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | let items_json = include_str!("../dotaconstants/build/items.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/heroes.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use serde_json::{self, Value, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/abilities.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/items.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/heroes.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use serde_json::{self, Value, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/abilities.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/items.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/heroes.rs:56:29 [INFO] [stderr] | [INFO] [stderr] 56 | let img_path = img_path.trim_right_matches('?'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/heroes.rs:56:29 [INFO] [stderr] | [INFO] [stderr] 56 | let img_path = img_path.trim_right_matches('?'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `dota`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `dota`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7d6dd6e52a42763436cfd5f8645bd38fdcf1c4c4ad8cd8de994d64924a8a877b"` [INFO] running `"docker" "rm" "-f" "7d6dd6e52a42763436cfd5f8645bd38fdcf1c4c4ad8cd8de994d64924a8a877b"` [INFO] [stdout] 7d6dd6e52a42763436cfd5f8645bd38fdcf1c4c4ad8cd8de994d64924a8a877b