[INFO] cloning repository https://github.com/ivanceras/dota-sql [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanceras/dota-sql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d49ed00602526db350fe84bba671349095b91da7 [INFO] checking ivanceras/dota-sql against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/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 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-12/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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=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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f7aa5da6ae65d1d04ccfc53704e398ff3c58d86ab4e6b13666be90f2dde230c [INFO] running `"docker" "start" "-a" "8f7aa5da6ae65d1d04ccfc53704e398ff3c58d86ab4e6b13666be90f2dde230c"` [INFO] [stderr] Checking serde v1.0.26 [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] 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] 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] 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] 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] 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] error: couldn't read src/../dotaconstants/build/hero_abilities.json: No such file or directory (os error 2) [INFO] [stderr] 27 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stderr] --> src/hero_ability.rs:18:31 [INFO] [stderr] | [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 18 | let hero_abilities_json = include_str!("../dotaconstants/build/hero_abilities.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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] 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] 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] 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] 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] 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] 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 [INFO] [stderr] [INFO] [stderr] error: could not compile `dota`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 7 previous errors [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" "8f7aa5da6ae65d1d04ccfc53704e398ff3c58d86ab4e6b13666be90f2dde230c"` [INFO] running `"docker" "rm" "-f" "8f7aa5da6ae65d1d04ccfc53704e398ff3c58d86ab4e6b13666be90f2dde230c"` [INFO] [stdout] 8f7aa5da6ae65d1d04ccfc53704e398ff3c58d86ab4e6b13666be90f2dde230c