[INFO] cloning repository https://github.com/lollek/omoria [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lollek/omoria" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flollek%2Fomoria", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flollek%2Fomoria'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4c00454ae170e2ef5c5d6ddfc62589177e7ffda [INFO] checking lollek/omoria against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flollek%2Fomoria" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lollek/omoria on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lollek/omoria [INFO] finished tweaking git repo https://github.com/lollek/omoria [INFO] tweaked toml for git repo https://github.com/lollek/omoria written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/lollek/omoria already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.94.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d1d89dbf6a03b2749eed42e148fb1162994c894fd0de668015afc39c2e8bce9 [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" "0d1d89dbf6a03b2749eed42e148fb1162994c894fd0de668015afc39c2e8bce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1d89dbf6a03b2749eed42e148fb1162994c894fd0de668015afc39c2e8bce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1d89dbf6a03b2749eed42e148fb1162994c894fd0de668015afc39c2e8bce9", kill_on_drop: false }` [INFO] [stdout] 0d1d89dbf6a03b2749eed42e148fb1162994c894fd0de668015afc39c2e8bce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 55d208509bca9caf1b3bd79bfc06e568beb78b672b84f6535fb18f0d6c4a6079 [INFO] running `Command { std: "docker" "start" "-a" "55d208509bca9caf1b3bd79bfc06e568beb78b672b84f6535fb18f0d6c4a6079", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.11 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling ncurses v5.94.0 [INFO] [stderr] Checking pancurses v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serde_json v1.0.24 [INFO] [stderr] Checking omoria v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | fn log_error(e: &error::Error) { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn fatal2(msg: &str, e: &error::Error) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_magic_spell_level(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 8 | | magic::spell(slot as usize).level [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn C_magic_spell_mana(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 13 | | magic::spell(slot as usize).mana [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn C_magic_spell_failchance(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 18 | | magic::spell(slot as usize).fail [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub extern fn C_gain_mana(amount: libc::int16_t) { [INFO] [stdout] 23 | | magic::gain_mana(amount); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu/mod_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn change_name() { [INFO] [stdout] 7 | | debug::enter("menu_extern::change_name"); [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | menu::change_name(); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | debug::leave("menu_extern::change_name"); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu/mod_extern.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub extern fn create_character() { [INFO] [stdout] 16 | | debug::enter("menu_extern::create_character"); [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | menu::create_character(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | debug::leave("menu_extern::create_character"); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu/mod_extern.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub extern fn C_main_menu() { [INFO] [stdout] 26 | | debug::enter("menu_extern::main_menu"); [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | if let Some(character) = menu::main_menu() { [INFO] [stdout] ... | [INFO] [stdout] 33 | | debug::leave("menu_extern::create_character"); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub extern fn C_player_knows_spell(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 9 | | debug::enter("C_player_knows_spell"); [INFO] [stdout] 10 | | let ret = match player::knows_spell(slot as usize) { [INFO] [stdout] 11 | | true => 255, [INFO] [stdout] ... | [INFO] [stdout] 15 | | return ret; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub extern fn C_player_set_knows_spell(slot: libc::int32_t, yn: libc::uint8_t) { [INFO] [stdout] 20 | | debug::enter("C_player_set_knows_spell"); [INFO] [stdout] 21 | | player::set_knows_spell(slot as usize, yn != 0); [INFO] [stdout] 22 | | debug::leave("C_player_set_knows_spell"); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub extern fn C_player_uses_magic(magic_type: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 27 | | debug::enter("C_player_uses_magic"); [INFO] [stdout] 28 | | let ret = match player::uses_magic(Magic::from(magic_type)) { [INFO] [stdout] 29 | | true => 255, [INFO] [stdout] ... | [INFO] [stdout] 33 | | return ret; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub extern fn C_player_add_exp(num: libc::c_long) { [INFO] [stdout] 38 | | debug::enter("C_player_add_exp"); [INFO] [stdout] 39 | | player::add_experience(num); [INFO] [stdout] 40 | | debug::leave("C_player_add_exp"); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub extern fn C_player_recalc_stats() { [INFO] [stdout] 45 | | debug::enter("C_player_recalc_stats"); [INFO] [stdout] 46 | | player::recalc_curr_stats(); [INFO] [stdout] 47 | | debug::leave("C_player_recalc_stats"); [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub extern fn C_player_max_bulk() -> libc::uint16_t { [INFO] [stdout] 52 | | debug::enter("C_player_max_bulk"); [INFO] [stdout] 53 | | let ret = player::max_bulk(); [INFO] [stdout] 54 | | debug::leave("C_player_max_bulk"); [INFO] [stdout] 55 | | return ret; [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub extern fn C_player_dmg_from_str() -> libc::int16_t { [INFO] [stdout] 60 | | debug::enter("C_player_dmg_from_str"); [INFO] [stdout] 61 | | let ret = player::dmg_from_str(); [INFO] [stdout] 62 | | debug::leave("C_player_dmg_from_str"); [INFO] [stdout] 63 | | return ret; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / pub extern fn C_player_disarm_from_dex() -> libc::int16_t { [INFO] [stdout] 68 | | debug::enter("C_player_disarm_from_dex"); [INFO] [stdout] 69 | | let ret = player::disarm_from_dex(); [INFO] [stdout] 70 | | debug::leave("C_player_disarm_from_dex"); [INFO] [stdout] 71 | | return ret; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / pub extern fn C_player_get_stat(stat: libc::uint8_t) -> libc::int16_t { [INFO] [stdout] 76 | | debug::enter(&format!("C_player_get_stat. stat={}", stat)); [INFO] [stdout] 77 | | let ret = player::get_stat(Stat::from(stat)); [INFO] [stdout] 78 | | debug::leave("C_player_get_stat"); [INFO] [stdout] 79 | | return ret; [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / pub extern fn C_player_mod_from_stat(stat: libc::uint8_t) -> libc::int16_t { [INFO] [stdout] 84 | | debug::enter("C_player_mod_from_stat"); [INFO] [stdout] 85 | | let ret = player::modifier_from_stat(Stat::from(stat)); [INFO] [stdout] 86 | | debug::leave("C_player_mod_from_stat"); [INFO] [stdout] 87 | | return ret; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / pub extern fn C_player_hp_from_con() -> libc::int16_t { [INFO] [stdout] 92 | | debug::enter("C_player_hp_from_con"); [INFO] [stdout] 93 | | let ret = player::hp_from_con(); [INFO] [stdout] 94 | | debug::leave("C_player_hp_from_con"); [INFO] [stdout] 95 | | return ret; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / pub extern fn C_player_cost_modifier_from_charisma() -> libc::c_float { [INFO] [stdout] 100 | | debug::enter("C_player_cost_modifier_from_charisma"); [INFO] [stdout] 101 | | let ret = player::cost_modifier_from_charisma(); [INFO] [stdout] 102 | | debug::leave("C_player_cost_modifier_from_charisma"); [INFO] [stdout] 103 | | return ret; [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / pub extern fn C_player_tohit_from_stats() -> libc::int16_t { [INFO] [stdout] 108 | | debug::enter("C_player_tohit_from_stats"); [INFO] [stdout] 109 | | let ret = player::tohit_from_stats(); [INFO] [stdout] 110 | | debug::leave("C_player_tohit_from_stats"); [INFO] [stdout] 111 | | return ret; [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / pub extern fn C_player_ac_from_dex() -> libc::int16_t { [INFO] [stdout] 116 | | debug::enter("C_player_ac_from_dex"); [INFO] [stdout] 117 | | let ret = player::ac_from_dex(); [INFO] [stdout] 118 | | debug::leave("C_player_ac_from_dex"); [INFO] [stdout] 119 | | return ret; [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / pub extern fn C_player_modify_lost_stat(stat: libc::uint8_t, amount: libc::int16_t) { [INFO] [stdout] 124 | | debug::enter("C_player_modify_lost_stat"); [INFO] [stdout] 125 | | player::modify_lost_stat(Stat::from(stat), amount); [INFO] [stdout] 126 | | debug::leave("C_player_modify_lost_stat"); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub extern fn C_player_reset_lost_stat(stat: libc::uint8_t) { [INFO] [stdout] 131 | | debug::enter("C_player_reset_lost_stat"); [INFO] [stdout] 132 | | player::reset_lost_stat(Stat::from(stat)); [INFO] [stdout] 133 | | debug::leave("C_player_reset_lost_stat"); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / pub extern fn C_player_has_lost_stat(stat: libc::uint8_t) -> libc::uint8_t { [INFO] [stdout] 138 | | debug::enter("C_player_has_lost_stat"); [INFO] [stdout] 139 | | let ret = match player::has_lost_stat(Stat::from(stat)) { [INFO] [stdout] 140 | | true => 255, [INFO] [stdout] ... | [INFO] [stdout] 144 | | return ret; [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / pub extern fn C_player_mod_stat(stat: libc::uint8_t, modifier: libc::int16_t) { [INFO] [stdout] 149 | | debug::enter("C_player_mod_stat"); [INFO] [stdout] 150 | | player::mod_stat(Stat::from(stat), modifier); [INFO] [stdout] 151 | | debug::leave("C_player_mod_stat"); [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub extern fn C_player_mod_perm_stat(stat: libc::uint8_t, modifier: libc::int16_t) { [INFO] [stdout] 156 | | debug::enter("C_player_mod_perm_stat"); [INFO] [stdout] 157 | | player::mod_perm_stat(Stat::from(stat), modifier); [INFO] [stdout] 158 | | debug::leave("C_player_mod_perm_stat"); [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub extern fn C_player_roll_hp_for_levelup() -> libc::int16_t { [INFO] [stdout] 163 | | debug::enter("C_player_roll_hp_for_levelup"); [INFO] [stdout] 164 | | let ret = player::roll_hp_for_levelup(); [INFO] [stdout] 165 | | debug::leave("C_player_roll_hp_for_levelup"); [INFO] [stdout] 166 | | return ret; [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / pub extern fn C_player_set_extra_bulk_carry(new_value: libc::uint16_t) { [INFO] [stdout] 171 | | debug::enter("C_player_set_extra_bulk_carry"); [INFO] [stdout] 172 | | player::set_extra_bulk_carry(new_value); [INFO] [stdout] 173 | | debug::leave("C_player_set_extra_bulk_carry"); [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / pub extern fn C_player_mod_search_skill(modifier: libc::int16_t) { [INFO] [stdout] 178 | | player::mod_search_skill(modifier); [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / pub extern fn C_player_curr_search_skill() -> libc::int16_t { [INFO] [stdout] 183 | | player::curr_search_skill() [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | / pub extern fn C_player_current_hp() -> libc::int16_t { [INFO] [stdout] 188 | | player::current_hp() [INFO] [stdout] 189 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / pub extern fn C_player_max_hp() -> libc::int16_t { [INFO] [stdout] 193 | | player::max_hp() [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / pub extern fn C_player_reset_current_hp() { [INFO] [stdout] 198 | | player::reset_current_hp() [INFO] [stdout] 199 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | / pub extern fn C_player_modify_max_hp(modifier: libc::int16_t) { [INFO] [stdout] 203 | | player::modify_max_hp(modifier); [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / pub extern fn C_player_modify_current_hp(modifier: libc::c_float) { [INFO] [stdout] 208 | | player::modify_current_hp(modifier); [INFO] [stdout] 209 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / pub extern fn C_player_regen_hp(percent: libc::c_float) { [INFO] [stdout] 213 | | player::regen_hp(percent); [INFO] [stdout] 214 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/save/save_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn C_delete_character() { [INFO] [stdout] 7 | | save::delete_character(); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/save/save_extern.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub extern fn C_save_character() -> libc::uint8_t { [INFO] [stdout] 12 | | match save::save_character() { [INFO] [stdout] 13 | | Some(_) => 255, [INFO] [stdout] 14 | | None => 0, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/save/save_extern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub extern fn C_load_character() -> libc::uint8_t { [INFO] [stdout] 20 | | match save::load_character() { [INFO] [stdout] 21 | | Some(_) => 255, [INFO] [stdout] 22 | | None => 0, [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/types/item_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_item_get_tchar(item_ptr: *const Item) -> pancurses::chtype { [INFO] [stdout] 8 | | debug::enter(&format!("C_item_get_tchar")); [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | let item = unsafe { *item_ptr }; [INFO] [stdout] ... | [INFO] [stdout] 15 | | res [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ability_extern.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub extern fn C_select_ability() -> libc::uint8_t { [INFO] [stdout] 5 | | match ability::select_ability() { [INFO] [stdout] 6 | | true => 255, [INFO] [stdout] 7 | | false => 0, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ability_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn C_check_passive_abilities() { [INFO] [stdout] 13 | | ability::check_passive_abilities(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / extern { [INFO] [stdout] 8 | | static wizard2: i8; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub extern fn eb__display_money() { [INFO] [stdout] 14 | | let is_wizard2 = unsafe { wizard2 } != 0; [INFO] [stdout] 15 | | let player_account = unsafe { player::player_account }; [INFO] [stdout] 16 | | let wallet = player::wallet(); [INFO] [stdout] ... | [INFO] [stdout] 37 | | term::refresh_screen(); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub extern fn eb__display_store(shop_owner: *const c_char) { [INFO] [stdout] 42 | | if shop_owner.is_null() { [INFO] [stdout] 43 | | panic!("Null string received"); [INFO] [stdout] 44 | | } [INFO] [stdout] ... | [INFO] [stdout] 55 | | term::prt(" p) Put item in vault. r) Remove item from vault.", 22, 0); [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub extern fn reset_total_cash() { [INFO] [stdout] 60 | | let mut player_money = player::wallet(); [INFO] [stdout] 61 | | player_money.calculate_total(); [INFO] [stdout] 62 | | player::set_wallet(&player_money); [INFO] [stdout] ... | [INFO] [stdout] 66 | | player::set_bank_wallet(&bank); [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/commands_extern.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub extern fn C_commands_show_class_restrictions() { [INFO] [stdout] 6 | | debug::enter("commands_extern::C_commands_show_class_restrictions"); [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | commands::show_class_restrictions(); [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | debug::leave("commands_extern::C_commands_show_class_restrictions"); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/constants_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn imoria_version() -> *const libc::c_char { [INFO] [stdout] 13 | | IMORIA_CSTR.as_ptr() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/constants_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn omoria_version() -> *const libc::c_char { [INFO] [stdout] 18 | | OMORIA_CSTR.as_ptr() [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/classes_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_class_melee_bonus(class: libc::int32_t) -> libc::int8_t { [INFO] [stdout] 8 | | Class::from(class as usize).melee_bonus() [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/classes_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn C_class_ranged_bonus(class: libc::int32_t) -> libc::int8_t { [INFO] [stdout] 13 | | Class::from(class as usize).ranged_bonus() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/classes_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn C_class_can_use_item(class: libc::int32_t, item: *const Item) -> libc::uint8_t { [INFO] [stdout] 18 | | match Class::from(class as usize).can_use_item(unsafe { &*item }) { [INFO] [stdout] 19 | | true => 255, [INFO] [stdout] 20 | | false => 0, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/highscore_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_highscore(max: libc::uint8_t) { [INFO] [stdout] 8 | | highscore::highscore(max); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/master_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn C_master_update_character(uid: libc::int64_t) -> libc::uint8_t { [INFO] [stdout] 7 | | match master::update_character(uid) { [INFO] [stdout] 8 | | Some(_) => 255, [INFO] [stdout] 9 | | None => 0, [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/master_extern.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub extern fn C_master_add_character() -> libc::int64_t { [INFO] [stdout] 15 | | match master::add_character() { [INFO] [stdout] 16 | | Some(uid) => uid, [INFO] [stdout] 17 | | None => 0, [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/master_extern.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub extern fn C_master_character_exists(uid: libc::int64_t) -> libc::uint8_t { [INFO] [stdout] 23 | | match master::character_exists(uid) { [INFO] [stdout] 24 | | Some(_) => 255, [INFO] [stdout] 25 | | None => 0, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub extern fn max_allowable_weight() -> libc::uint16_t { [INFO] [stdout] 10 | | debug::enter("misc_extern::max_allowable_weight"); [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | let res = misc::max_allowable_weight(); [INFO] [stdout] ... | [INFO] [stdout] 15 | | res [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub extern fn min_allowable_weight() -> libc::uint16_t { [INFO] [stdout] 20 | | debug::enter("misc_extern::min_allowable_weight"); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | let res = misc::min_allowable_weight(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | res [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub extern fn C_print_known_spells() { [INFO] [stdout] 30 | | debug::enter("misc_extern::print_known_spells"); [INFO] [stdout] 31 | | misc::print_known_spells(); [INFO] [stdout] 32 | | debug::leave("misc_extern::print_known_spells"); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub extern fn C_print_new_spell_line(i: libc::uint8_t, slot: libc::c_long, failchance: libc::c_long) { [INFO] [stdout] 38 | | let to_print = if slot < 0 { [INFO] [stdout] 39 | | "".to_owned() // leave gaps for unknown spells [INFO] [stdout] 40 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 50 | | term::prt(&to_print, (2 + i) as i32, 0); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ncurses_extern.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub extern fn C_init_curses() { [INFO] [stdout] 5 | | ncurses::init_curses(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/random_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn randint(maxval: libc::c_long) -> libc::c_long { [INFO] [stdout] 7 | | random::randint(maxval) [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/random_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn rand_rep(num: libc::c_long, die: libc::c_long) -> libc::c_long { [INFO] [stdout] 13 | | random::rand_rep(num, die) [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/random_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn randnor(mean: libc::c_long, stand: libc::c_long) -> libc::c_long { [INFO] [stdout] 18 | | random::randnor(mean, stand) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/screen_extern.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub extern fn C_print_stat_block() { [INFO] [stdout] 5 | | screen::print_stat_block(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/screen_extern.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub extern fn C_print_equipment_block() { [INFO] [stdout] 10 | | screen::print_equipment_block(); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub extern fn C_clear_screen() { [INFO] [stdout] 9 | | debug::enter("term_extern::clear_screen"); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | term::clear_screen(); [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | debug::leave("term_extern::clear_screen"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn prt(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 18 | | debug::enter("term_extern::prt"); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if msg.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 25 | | debug::leave("term_extern::prt"); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub extern fn prt_(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 30 | | debug::enter("term_extern::prt_"); [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | if msg.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 39 | | debug::leave("term_extern::prt_"); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / pub extern fn put_buffer(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 44 | | debug::enter("term_extern::put_buffer"); [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | put_buffer_(msg, row - 1, col - 1); [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | debug::leave("term_extern::put_buffer"); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / pub extern fn put_buffer_(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 53 | | debug::enter("term_extern::put_buffer_"); [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | if msg.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 62 | | debug::leave("term_extern::put_buffer_"); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | fn log_error(e: &error::Error) { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn fatal2(msg: &str, e: &error::Error) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_magic_spell_level(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 8 | | magic::spell(slot as usize).level [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn C_magic_spell_mana(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 13 | | magic::spell(slot as usize).mana [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn C_magic_spell_failchance(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 18 | | magic::spell(slot as usize).fail [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/magic/magic_extern.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub extern fn C_gain_mana(amount: libc::int16_t) { [INFO] [stdout] 23 | | magic::gain_mana(amount); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu/mod_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn change_name() { [INFO] [stdout] 7 | | debug::enter("menu_extern::change_name"); [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | menu::change_name(); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | debug::leave("menu_extern::change_name"); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu/mod_extern.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub extern fn create_character() { [INFO] [stdout] 16 | | debug::enter("menu_extern::create_character"); [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | menu::create_character(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | debug::leave("menu_extern::create_character"); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu/mod_extern.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pub extern fn C_main_menu() { [INFO] [stdout] 26 | | debug::enter("menu_extern::main_menu"); [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | if let Some(character) = menu::main_menu() { [INFO] [stdout] ... | [INFO] [stdout] 33 | | debug::leave("menu_extern::create_character"); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub extern fn C_player_knows_spell(slot: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 9 | | debug::enter("C_player_knows_spell"); [INFO] [stdout] 10 | | let ret = match player::knows_spell(slot as usize) { [INFO] [stdout] 11 | | true => 255, [INFO] [stdout] ... | [INFO] [stdout] 15 | | return ret; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub extern fn C_player_set_knows_spell(slot: libc::int32_t, yn: libc::uint8_t) { [INFO] [stdout] 20 | | debug::enter("C_player_set_knows_spell"); [INFO] [stdout] 21 | | player::set_knows_spell(slot as usize, yn != 0); [INFO] [stdout] 22 | | debug::leave("C_player_set_knows_spell"); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub extern fn C_player_uses_magic(magic_type: libc::int32_t) -> libc::uint8_t { [INFO] [stdout] 27 | | debug::enter("C_player_uses_magic"); [INFO] [stdout] 28 | | let ret = match player::uses_magic(Magic::from(magic_type)) { [INFO] [stdout] 29 | | true => 255, [INFO] [stdout] ... | [INFO] [stdout] 33 | | return ret; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub extern fn C_player_add_exp(num: libc::c_long) { [INFO] [stdout] 38 | | debug::enter("C_player_add_exp"); [INFO] [stdout] 39 | | player::add_experience(num); [INFO] [stdout] 40 | | debug::leave("C_player_add_exp"); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub extern fn C_player_recalc_stats() { [INFO] [stdout] 45 | | debug::enter("C_player_recalc_stats"); [INFO] [stdout] 46 | | player::recalc_curr_stats(); [INFO] [stdout] 47 | | debug::leave("C_player_recalc_stats"); [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub extern fn C_player_max_bulk() -> libc::uint16_t { [INFO] [stdout] 52 | | debug::enter("C_player_max_bulk"); [INFO] [stdout] 53 | | let ret = player::max_bulk(); [INFO] [stdout] 54 | | debug::leave("C_player_max_bulk"); [INFO] [stdout] 55 | | return ret; [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub extern fn C_player_dmg_from_str() -> libc::int16_t { [INFO] [stdout] 60 | | debug::enter("C_player_dmg_from_str"); [INFO] [stdout] 61 | | let ret = player::dmg_from_str(); [INFO] [stdout] 62 | | debug::leave("C_player_dmg_from_str"); [INFO] [stdout] 63 | | return ret; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / pub extern fn C_player_disarm_from_dex() -> libc::int16_t { [INFO] [stdout] 68 | | debug::enter("C_player_disarm_from_dex"); [INFO] [stdout] 69 | | let ret = player::disarm_from_dex(); [INFO] [stdout] 70 | | debug::leave("C_player_disarm_from_dex"); [INFO] [stdout] 71 | | return ret; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / pub extern fn C_player_get_stat(stat: libc::uint8_t) -> libc::int16_t { [INFO] [stdout] 76 | | debug::enter(&format!("C_player_get_stat. stat={}", stat)); [INFO] [stdout] 77 | | let ret = player::get_stat(Stat::from(stat)); [INFO] [stdout] 78 | | debug::leave("C_player_get_stat"); [INFO] [stdout] 79 | | return ret; [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / pub extern fn C_player_mod_from_stat(stat: libc::uint8_t) -> libc::int16_t { [INFO] [stdout] 84 | | debug::enter("C_player_mod_from_stat"); [INFO] [stdout] 85 | | let ret = player::modifier_from_stat(Stat::from(stat)); [INFO] [stdout] 86 | | debug::leave("C_player_mod_from_stat"); [INFO] [stdout] 87 | | return ret; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / pub extern fn C_player_hp_from_con() -> libc::int16_t { [INFO] [stdout] 92 | | debug::enter("C_player_hp_from_con"); [INFO] [stdout] 93 | | let ret = player::hp_from_con(); [INFO] [stdout] 94 | | debug::leave("C_player_hp_from_con"); [INFO] [stdout] 95 | | return ret; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / pub extern fn C_player_cost_modifier_from_charisma() -> libc::c_float { [INFO] [stdout] 100 | | debug::enter("C_player_cost_modifier_from_charisma"); [INFO] [stdout] 101 | | let ret = player::cost_modifier_from_charisma(); [INFO] [stdout] 102 | | debug::leave("C_player_cost_modifier_from_charisma"); [INFO] [stdout] 103 | | return ret; [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / pub extern fn C_player_tohit_from_stats() -> libc::int16_t { [INFO] [stdout] 108 | | debug::enter("C_player_tohit_from_stats"); [INFO] [stdout] 109 | | let ret = player::tohit_from_stats(); [INFO] [stdout] 110 | | debug::leave("C_player_tohit_from_stats"); [INFO] [stdout] 111 | | return ret; [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / pub extern fn C_player_ac_from_dex() -> libc::int16_t { [INFO] [stdout] 116 | | debug::enter("C_player_ac_from_dex"); [INFO] [stdout] 117 | | let ret = player::ac_from_dex(); [INFO] [stdout] 118 | | debug::leave("C_player_ac_from_dex"); [INFO] [stdout] 119 | | return ret; [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / pub extern fn C_player_modify_lost_stat(stat: libc::uint8_t, amount: libc::int16_t) { [INFO] [stdout] 124 | | debug::enter("C_player_modify_lost_stat"); [INFO] [stdout] 125 | | player::modify_lost_stat(Stat::from(stat), amount); [INFO] [stdout] 126 | | debug::leave("C_player_modify_lost_stat"); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub extern fn C_player_reset_lost_stat(stat: libc::uint8_t) { [INFO] [stdout] 131 | | debug::enter("C_player_reset_lost_stat"); [INFO] [stdout] 132 | | player::reset_lost_stat(Stat::from(stat)); [INFO] [stdout] 133 | | debug::leave("C_player_reset_lost_stat"); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / pub extern fn C_player_has_lost_stat(stat: libc::uint8_t) -> libc::uint8_t { [INFO] [stdout] 138 | | debug::enter("C_player_has_lost_stat"); [INFO] [stdout] 139 | | let ret = match player::has_lost_stat(Stat::from(stat)) { [INFO] [stdout] 140 | | true => 255, [INFO] [stdout] ... | [INFO] [stdout] 144 | | return ret; [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / pub extern fn C_player_mod_stat(stat: libc::uint8_t, modifier: libc::int16_t) { [INFO] [stdout] 149 | | debug::enter("C_player_mod_stat"); [INFO] [stdout] 150 | | player::mod_stat(Stat::from(stat), modifier); [INFO] [stdout] 151 | | debug::leave("C_player_mod_stat"); [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub extern fn C_player_mod_perm_stat(stat: libc::uint8_t, modifier: libc::int16_t) { [INFO] [stdout] 156 | | debug::enter("C_player_mod_perm_stat"); [INFO] [stdout] 157 | | player::mod_perm_stat(Stat::from(stat), modifier); [INFO] [stdout] 158 | | debug::leave("C_player_mod_perm_stat"); [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub extern fn C_player_roll_hp_for_levelup() -> libc::int16_t { [INFO] [stdout] 163 | | debug::enter("C_player_roll_hp_for_levelup"); [INFO] [stdout] 164 | | let ret = player::roll_hp_for_levelup(); [INFO] [stdout] 165 | | debug::leave("C_player_roll_hp_for_levelup"); [INFO] [stdout] 166 | | return ret; [INFO] [stdout] 167 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / pub extern fn C_player_set_extra_bulk_carry(new_value: libc::uint16_t) { [INFO] [stdout] 171 | | debug::enter("C_player_set_extra_bulk_carry"); [INFO] [stdout] 172 | | player::set_extra_bulk_carry(new_value); [INFO] [stdout] 173 | | debug::leave("C_player_set_extra_bulk_carry"); [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / pub extern fn C_player_mod_search_skill(modifier: libc::int16_t) { [INFO] [stdout] 178 | | player::mod_search_skill(modifier); [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / pub extern fn C_player_curr_search_skill() -> libc::int16_t { [INFO] [stdout] 183 | | player::curr_search_skill() [INFO] [stdout] 184 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | / pub extern fn C_player_current_hp() -> libc::int16_t { [INFO] [stdout] 188 | | player::current_hp() [INFO] [stdout] 189 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / pub extern fn C_player_max_hp() -> libc::int16_t { [INFO] [stdout] 193 | | player::max_hp() [INFO] [stdout] 194 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / pub extern fn C_player_reset_current_hp() { [INFO] [stdout] 198 | | player::reset_current_hp() [INFO] [stdout] 199 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | / pub extern fn C_player_modify_max_hp(modifier: libc::int16_t) { [INFO] [stdout] 203 | | player::modify_max_hp(modifier); [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / pub extern fn C_player_modify_current_hp(modifier: libc::c_float) { [INFO] [stdout] 208 | | player::modify_current_hp(modifier); [INFO] [stdout] 209 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/player/player_extern.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / pub extern fn C_player_regen_hp(percent: libc::c_float) { [INFO] [stdout] 213 | | player::regen_hp(percent); [INFO] [stdout] 214 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/save/save_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn C_delete_character() { [INFO] [stdout] 7 | | save::delete_character(); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/save/save_extern.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub extern fn C_save_character() -> libc::uint8_t { [INFO] [stdout] 12 | | match save::save_character() { [INFO] [stdout] 13 | | Some(_) => 255, [INFO] [stdout] 14 | | None => 0, [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/save/save_extern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub extern fn C_load_character() -> libc::uint8_t { [INFO] [stdout] 20 | | match save::load_character() { [INFO] [stdout] 21 | | Some(_) => 255, [INFO] [stdout] 22 | | None => 0, [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/types/item_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_item_get_tchar(item_ptr: *const Item) -> pancurses::chtype { [INFO] [stdout] 8 | | debug::enter(&format!("C_item_get_tchar")); [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | let item = unsafe { *item_ptr }; [INFO] [stdout] ... | [INFO] [stdout] 15 | | res [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ability_extern.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub extern fn C_select_ability() -> libc::uint8_t { [INFO] [stdout] 5 | | match ability::select_ability() { [INFO] [stdout] 6 | | true => 255, [INFO] [stdout] 7 | | false => 0, [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ability_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn C_check_passive_abilities() { [INFO] [stdout] 13 | | ability::check_passive_abilities(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / extern { [INFO] [stdout] 8 | | static wizard2: i8; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub extern fn eb__display_money() { [INFO] [stdout] 14 | | let is_wizard2 = unsafe { wizard2 } != 0; [INFO] [stdout] 15 | | let player_account = unsafe { player::player_account }; [INFO] [stdout] 16 | | let wallet = player::wallet(); [INFO] [stdout] ... | [INFO] [stdout] 37 | | term::refresh_screen(); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub extern fn eb__display_store(shop_owner: *const c_char) { [INFO] [stdout] 42 | | if shop_owner.is_null() { [INFO] [stdout] 43 | | panic!("Null string received"); [INFO] [stdout] 44 | | } [INFO] [stdout] ... | [INFO] [stdout] 55 | | term::prt(" p) Put item in vault. r) Remove item from vault.", 22, 0); [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bank_extern.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub extern fn reset_total_cash() { [INFO] [stdout] 60 | | let mut player_money = player::wallet(); [INFO] [stdout] 61 | | player_money.calculate_total(); [INFO] [stdout] 62 | | player::set_wallet(&player_money); [INFO] [stdout] ... | [INFO] [stdout] 66 | | player::set_bank_wallet(&bank); [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/commands_extern.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub extern fn C_commands_show_class_restrictions() { [INFO] [stdout] 6 | | debug::enter("commands_extern::C_commands_show_class_restrictions"); [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | commands::show_class_restrictions(); [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | debug::leave("commands_extern::C_commands_show_class_restrictions"); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/constants_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn imoria_version() -> *const libc::c_char { [INFO] [stdout] 13 | | IMORIA_CSTR.as_ptr() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/constants_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn omoria_version() -> *const libc::c_char { [INFO] [stdout] 18 | | OMORIA_CSTR.as_ptr() [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/classes_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_class_melee_bonus(class: libc::int32_t) -> libc::int8_t { [INFO] [stdout] 8 | | Class::from(class as usize).melee_bonus() [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/classes_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn C_class_ranged_bonus(class: libc::int32_t) -> libc::int8_t { [INFO] [stdout] 13 | | Class::from(class as usize).ranged_bonus() [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/classes_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn C_class_can_use_item(class: libc::int32_t, item: *const Item) -> libc::uint8_t { [INFO] [stdout] 18 | | match Class::from(class as usize).can_use_item(unsafe { &*item }) { [INFO] [stdout] 19 | | true => 255, [INFO] [stdout] 20 | | false => 0, [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/highscore_extern.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub extern fn C_highscore(max: libc::uint8_t) { [INFO] [stdout] 8 | | highscore::highscore(max); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/master_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn C_master_update_character(uid: libc::int64_t) -> libc::uint8_t { [INFO] [stdout] 7 | | match master::update_character(uid) { [INFO] [stdout] 8 | | Some(_) => 255, [INFO] [stdout] 9 | | None => 0, [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/master_extern.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub extern fn C_master_add_character() -> libc::int64_t { [INFO] [stdout] 15 | | match master::add_character() { [INFO] [stdout] 16 | | Some(uid) => uid, [INFO] [stdout] 17 | | None => 0, [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/master_extern.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub extern fn C_master_character_exists(uid: libc::int64_t) -> libc::uint8_t { [INFO] [stdout] 23 | | match master::character_exists(uid) { [INFO] [stdout] 24 | | Some(_) => 255, [INFO] [stdout] 25 | | None => 0, [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub extern fn max_allowable_weight() -> libc::uint16_t { [INFO] [stdout] 10 | | debug::enter("misc_extern::max_allowable_weight"); [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | let res = misc::max_allowable_weight(); [INFO] [stdout] ... | [INFO] [stdout] 15 | | res [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub extern fn min_allowable_weight() -> libc::uint16_t { [INFO] [stdout] 20 | | debug::enter("misc_extern::min_allowable_weight"); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | let res = misc::min_allowable_weight(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | res [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub extern fn C_print_known_spells() { [INFO] [stdout] 30 | | debug::enter("misc_extern::print_known_spells"); [INFO] [stdout] 31 | | misc::print_known_spells(); [INFO] [stdout] 32 | | debug::leave("misc_extern::print_known_spells"); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/misc_extern.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub extern fn C_print_new_spell_line(i: libc::uint8_t, slot: libc::c_long, failchance: libc::c_long) { [INFO] [stdout] 38 | | let to_print = if slot < 0 { [INFO] [stdout] 39 | | "".to_owned() // leave gaps for unknown spells [INFO] [stdout] 40 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 50 | | term::prt(&to_print, (2 + i) as i32, 0); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ncurses_extern.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub extern fn C_init_curses() { [INFO] [stdout] 5 | | ncurses::init_curses(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/random_extern.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub extern fn randint(maxval: libc::c_long) -> libc::c_long { [INFO] [stdout] 7 | | random::randint(maxval) [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/random_extern.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub extern fn rand_rep(num: libc::c_long, die: libc::c_long) -> libc::c_long { [INFO] [stdout] 13 | | random::rand_rep(num, die) [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/random_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn randnor(mean: libc::c_long, stand: libc::c_long) -> libc::c_long { [INFO] [stdout] 18 | | random::randnor(mean, stand) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/screen_extern.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub extern fn C_print_stat_block() { [INFO] [stdout] 5 | | screen::print_stat_block(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/screen_extern.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / pub extern fn C_print_equipment_block() { [INFO] [stdout] 10 | | screen::print_equipment_block(); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub extern fn C_clear_screen() { [INFO] [stdout] 9 | | debug::enter("term_extern::clear_screen"); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | term::clear_screen(); [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | debug::leave("term_extern::clear_screen"); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub extern fn prt(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 18 | | debug::enter("term_extern::prt"); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if msg.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 25 | | debug::leave("term_extern::prt"); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub extern fn prt_(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 30 | | debug::enter("term_extern::prt_"); [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | if msg.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 39 | | debug::leave("term_extern::prt_"); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / pub extern fn put_buffer(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 44 | | debug::enter("term_extern::put_buffer"); [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | put_buffer_(msg, row - 1, col - 1); [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | debug::leave("term_extern::put_buffer"); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/term_extern.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / pub extern fn put_buffer_(msg: *const libc::c_char, row: i32, col: i32) { [INFO] [stdout] 53 | | debug::enter("term_extern::put_buffer_"); [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | if msg.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 62 | | debug::leave("term_extern::put_buffer_"); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/debug.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | match e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/debug.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | match e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `omoria`. [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] [stdout] error: aborting due to 71 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "55d208509bca9caf1b3bd79bfc06e568beb78b672b84f6535fb18f0d6c4a6079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d208509bca9caf1b3bd79bfc06e568beb78b672b84f6535fb18f0d6c4a6079", kill_on_drop: false }` [INFO] [stdout] 55d208509bca9caf1b3bd79bfc06e568beb78b672b84f6535fb18f0d6c4a6079