[INFO] updating cached repository https://github.com/ivanceras/dota-sql [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] d49ed00602526db350fe84bba671349095b91da7 [INFO] testing ivanceras/dota-sql against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fdota-sql" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 68% (875/1272) Checking out files: 69% (878/1272) Checking out files: 70% (891/1272) Checking out files: 71% (904/1272) Checking out files: 72% (916/1272) Checking out files: 73% (929/1272) Checking out files: 74% (942/1272) Checking out files: 75% (954/1272) Checking out files: 76% (967/1272) Checking out files: 77% (980/1272) Checking out files: 78% (993/1272) Checking out files: 79% (1005/1272) Checking out files: 80% (1018/1272) Checking out files: 81% (1031/1272) Checking out files: 82% (1044/1272) Checking out files: 83% (1056/1272) Checking out files: 84% (1069/1272) Checking out files: 85% (1082/1272) Checking out files: 86% (1094/1272) Checking out files: 87% (1107/1272) Checking out files: 88% (1120/1272) Checking out files: 89% (1133/1272) Checking out files: 90% (1145/1272) Checking out files: 91% (1158/1272) Checking out files: 92% (1171/1272) Checking out files: 93% (1183/1272) Checking out files: 94% (1196/1272) Checking out files: 95% (1209/1272) Checking out files: 96% (1222/1272) Checking out files: 97% (1234/1272) Checking out files: 98% (1247/1272) Checking out files: 98% (1259/1272) Checking out files: 99% (1260/1272) Checking out files: 99% (1261/1272) Checking out files: 99% (1262/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 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/ivanceras/dota-sql already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cb62e968732be0a3c271c12ce19e11c66e69d03b88f6472d6db02de3f8a00d6 [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" "3cb62e968732be0a3c271c12ce19e11c66e69d03b88f6472d6db02de3f8a00d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb62e968732be0a3c271c12ce19e11c66e69d03b88f6472d6db02de3f8a00d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb62e968732be0a3c271c12ce19e11c66e69d03b88f6472d6db02de3f8a00d6", kill_on_drop: false }` [INFO] [stdout] 3cb62e968732be0a3c271c12ce19e11c66e69d03b88f6472d6db02de3f8a00d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 522ba552ca7c859c382bdeccbb41ff301d04ca786891d7a3f607db9c5ef6211e [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" "522ba552ca7c859c382bdeccbb41ff301d04ca786891d7a3f607db9c5ef6211e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling serde v1.0.26 [INFO] [stderr] Compiling hex v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.8 [INFO] [stderr] Compiling dota v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2) [INFO] [stdout] --> src/heroes.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let heroes_json = include_str!("../dotaconstants/build/hero_names.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../dotaconstants/build/abilities.json: No such file or directory (os error 2) [INFO] [stdout] --> src/abilities.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let abilities_json = include_str!("../dotaconstants/build/abilities.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2) [INFO] [stdout] --> src/abilities.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../dotaconstants/build/hero_abilities.json: No such file or directory (os error 2) [INFO] [stdout] --> src/hero_ability.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let hero_abilities_json = include_str!("../dotaconstants/build/hero_abilities.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../dotaconstants/build/ability_ids.json: No such file or directory (os error 2) [INFO] [stdout] --> src/hero_ability.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let ability_ids_json = include_str!("../dotaconstants/build/ability_ids.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../dotaconstants/build/hero_names.json: No such file or directory (os error 2) [INFO] [stdout] --> src/hero_ability.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let hero_names_json = include_str!("../dotaconstants/build/hero_names.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../dotaconstants/build/items.json: No such file or directory (os error 2) [INFO] [stdout] --> src/items.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let items_json = include_str!("../dotaconstants/build/items.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/heroes.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{self, Value, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/abilities.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/items.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stdout] --> src/heroes.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let img_path = img_path.trim_right_matches('?'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dota`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "522ba552ca7c859c382bdeccbb41ff301d04ca786891d7a3f607db9c5ef6211e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522ba552ca7c859c382bdeccbb41ff301d04ca786891d7a3f607db9c5ef6211e", kill_on_drop: false }` [INFO] [stdout] 522ba552ca7c859c382bdeccbb41ff301d04ca786891d7a3f607db9c5ef6211e