[INFO] cloning repository https://github.com/uranixcz/resource_mng [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uranixcz/resource_mng" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanixcz%2Fresource_mng", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanixcz%2Fresource_mng'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f4cfb721277a1b0df22e9c20a38636010d6ab9b [INFO] checking uranixcz/resource_mng against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanixcz%2Fresource_mng" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uranixcz/resource_mng 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/uranixcz/resource_mng [INFO] finished tweaking git repo https://github.com/uranixcz/resource_mng [INFO] tweaked toml for git repo https://github.com/uranixcz/resource_mng written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/uranixcz/resource_mng 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 79f8d9d5877d9c2c7895a31c926adb7b2e1e82aff7449dbe8935e4b68cde39b2 [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" "79f8d9d5877d9c2c7895a31c926adb7b2e1e82aff7449dbe8935e4b68cde39b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79f8d9d5877d9c2c7895a31c926adb7b2e1e82aff7449dbe8935e4b68cde39b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f8d9d5877d9c2c7895a31c926adb7b2e1e82aff7449dbe8935e4b68cde39b2", kill_on_drop: false }` [INFO] [stdout] 79f8d9d5877d9c2c7895a31c926adb7b2e1e82aff7449dbe8935e4b68cde39b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 7a7f7f5439927c78bd1650513258d6d32e6ae96771298160af5ff9c2ea6f92be [INFO] running `Command { std: "docker" "start" "-a" "7a7f7f5439927c78bd1650513258d6d32e6ae96771298160af5ff9c2ea6f92be", kill_on_drop: false }` [INFO] [stderr] Checking resource-mng v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub extern fn get_scarcity(&self) -> f64 { //100/2=50 [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/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / pub extern fn init() -> Box { [INFO] [stdout] 143 | | Box::from(Instance { [INFO] [stdout] 144 | | materials: Vec::new(), [INFO] [stdout] 145 | | products: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 149 | | }) [INFO] [stdout] 150 | | } [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/lib.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub extern fn add_material(instance: &mut Instance, supply: f64) -> u8 { [INFO] [stdout] 154 | | const ZERO_SUPPLY: u8 = 2; [INFO] [stdout] 155 | | //const DUPLICATE_MATERIAL: u8 = 3; [INFO] [stdout] 156 | | [INFO] [stdout] ... | [INFO] [stdout] 164 | | 0 //ok [INFO] [stdout] 165 | | } [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/lib.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / pub extern fn add_product(instance: &mut Instance, material_id: usize, material_amount: f64, priority: usize, work_complexity: f64) -> u8 { [INFO] [stdout] 169 | | const ZERO_MATERIAL: u8 = 3; [INFO] [stdout] 170 | | const NO_SUCH_MATERIAL: u8 = 4; [INFO] [stdout] 171 | | //const DUPLICATE_PRODUCT: u8 = 5; [INFO] [stdout] ... | [INFO] [stdout] 186 | | 0 [INFO] [stdout] 187 | | } [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/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / pub extern fn order_product(instance: &mut Instance, [INFO] [stdout] 191 | | id: usize, [INFO] [stdout] 192 | | amount: f64, [INFO] [stdout] 193 | | variant_id: usize, [INFO] [stdout] ... | [INFO] [stdout] 256 | | code [INFO] [stdout] 257 | | } [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/lib.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | / pub extern fn process_queue(instance: &mut Instance) { [INFO] [stdout] 261 | | internals::process_queue(&mut instance.production_queue, [INFO] [stdout] 262 | | &mut instance.products, [INFO] [stdout] 263 | | &mut instance.materials, [INFO] [stdout] 264 | | &mut instance.finished_products, [INFO] [stdout] 265 | | instance.verbose); [INFO] [stdout] 266 | | } [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/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | / pub extern fn update_supply(instance: &mut Instance, id: usize, amount: f64) -> bool { [INFO] [stdout] 272 | | let result = match instance.materials.get_mut(id) { [INFO] [stdout] 273 | | Some(x) => { [INFO] [stdout] 274 | | x.supply = amount; [INFO] [stdout] ... | [INFO] [stdout] 285 | | result [INFO] [stdout] 286 | | } [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/lib.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / pub extern fn add_product_variant(instance: &mut Instance, product_id: usize, material_id: usize, material_amount: f64, work_complexity: ... [INFO] [stdout] 290 | | const NO_SUCH_PRODUCT: u8 = 1; [INFO] [stdout] 291 | | const NO_SUCH_MATERIAL: u8 = 2; [INFO] [stdout] 292 | | [INFO] [stdout] ... | [INFO] [stdout] 302 | | 0 [INFO] [stdout] 303 | | } [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/lib.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | / pub extern fn get_material_count(instance: &Instance) -> usize { [INFO] [stdout] 309 | | instance.materials.len() [INFO] [stdout] 310 | | } [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/lib.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / pub extern fn get_material_demand(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 314 | | instance.materials[id].demand [INFO] [stdout] 315 | | } [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/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | / pub extern fn get_material_supply(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 319 | | instance.materials[id].supply [INFO] [stdout] 320 | | } [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/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | / pub extern fn get_material_scarcity(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 324 | | instance.materials.get(id).unwrap().scarcity_cache [INFO] [stdout] 325 | | } [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/lib.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / pub extern fn get_product_count(instance: &Instance) -> usize { [INFO] [stdout] 329 | | instance.products.len() [INFO] [stdout] 330 | | } [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/lib.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | / pub extern fn get_product_supply(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 334 | | instance.products[id].supply [INFO] [stdout] 335 | | } [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/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | / pub extern fn get_product_demand(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 339 | | instance.products[id].demand [INFO] [stdout] 340 | | } [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/lib.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 343 | / pub extern fn get_product_priority(instance: &Instance, id: usize) -> usize { [INFO] [stdout] 344 | | instance.products[id].priority [INFO] [stdout] 345 | | } [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/lib.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / pub extern fn get_product_variant(instance: &Instance, product_id: usize, variant_id: usize) -> Component { [INFO] [stdout] 349 | | instance.products[product_id].variants[variant_id].components [INFO] [stdout] 350 | | } [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/lib.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | / pub extern fn get_next_finished(instance: &mut Instance) -> COption { [INFO] [stdout] 354 | | match instance.finished_products.pop() { [INFO] [stdout] 355 | | Some(p) => COption { is_some: true, data: p }, [INFO] [stdout] 356 | | None => COption { [INFO] [stdout] ... | [INFO] [stdout] 366 | | } [INFO] [stdout] 367 | | } [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/lib.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | / pub extern fn get_finished_count(instance: &Instance) -> usize { [INFO] [stdout] 371 | | instance.finished_products.len() [INFO] [stdout] 372 | | } [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/lib.rs:375:1 [INFO] [stdout] | [INFO] [stdout] 375 | / pub extern fn get_queue_len(instance: &Instance) -> usize { [INFO] [stdout] 376 | | let mut total = 0; [INFO] [stdout] 377 | | for i in instance.production_queue.iter() { [INFO] [stdout] 378 | | total += i.len() [INFO] [stdout] 379 | | } [INFO] [stdout] 380 | | total [INFO] [stdout] 381 | | } [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/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / pub extern fn tst_set_product_supply(instance: &mut Instance, id: usize, count: f64) { [INFO] [stdout] 389 | | instance.products.get_mut(id).unwrap().supply = count; [INFO] [stdout] 390 | | } [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/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub extern fn get_scarcity(&self) -> f64 { //100/2=50 [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/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / pub extern fn init() -> Box { [INFO] [stdout] 143 | | Box::from(Instance { [INFO] [stdout] 144 | | materials: Vec::new(), [INFO] [stdout] 145 | | products: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 149 | | }) [INFO] [stdout] 150 | | } [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/lib.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub extern fn add_material(instance: &mut Instance, supply: f64) -> u8 { [INFO] [stdout] 154 | | const ZERO_SUPPLY: u8 = 2; [INFO] [stdout] 155 | | //const DUPLICATE_MATERIAL: u8 = 3; [INFO] [stdout] 156 | | [INFO] [stdout] ... | [INFO] [stdout] 164 | | 0 //ok [INFO] [stdout] 165 | | } [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/lib.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / pub extern fn add_product(instance: &mut Instance, material_id: usize, material_amount: f64, priority: usize, work_complexity: f64) -> u8 { [INFO] [stdout] 169 | | const ZERO_MATERIAL: u8 = 3; [INFO] [stdout] 170 | | const NO_SUCH_MATERIAL: u8 = 4; [INFO] [stdout] 171 | | //const DUPLICATE_PRODUCT: u8 = 5; [INFO] [stdout] ... | [INFO] [stdout] 186 | | 0 [INFO] [stdout] 187 | | } [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/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / pub extern fn order_product(instance: &mut Instance, [INFO] [stdout] 191 | | id: usize, [INFO] [stdout] 192 | | amount: f64, [INFO] [stdout] 193 | | variant_id: usize, [INFO] [stdout] ... | [INFO] [stdout] 256 | | code [INFO] [stdout] 257 | | } [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/lib.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | / pub extern fn process_queue(instance: &mut Instance) { [INFO] [stdout] 261 | | internals::process_queue(&mut instance.production_queue, [INFO] [stdout] 262 | | &mut instance.products, [INFO] [stdout] 263 | | &mut instance.materials, [INFO] [stdout] 264 | | &mut instance.finished_products, [INFO] [stdout] 265 | | instance.verbose); [INFO] [stdout] 266 | | } [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/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | / pub extern fn update_supply(instance: &mut Instance, id: usize, amount: f64) -> bool { [INFO] [stdout] 272 | | let result = match instance.materials.get_mut(id) { [INFO] [stdout] 273 | | Some(x) => { [INFO] [stdout] 274 | | x.supply = amount; [INFO] [stdout] ... | [INFO] [stdout] 285 | | result [INFO] [stdout] 286 | | } [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/lib.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / pub extern fn add_product_variant(instance: &mut Instance, product_id: usize, material_id: usize, material_amount: f64, work_complexity: ... [INFO] [stdout] 290 | | const NO_SUCH_PRODUCT: u8 = 1; [INFO] [stdout] 291 | | const NO_SUCH_MATERIAL: u8 = 2; [INFO] [stdout] 292 | | [INFO] [stdout] ... | [INFO] [stdout] 302 | | 0 [INFO] [stdout] 303 | | } [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/lib.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | / pub extern fn get_material_count(instance: &Instance) -> usize { [INFO] [stdout] 309 | | instance.materials.len() [INFO] [stdout] 310 | | } [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/lib.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / pub extern fn get_material_demand(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 314 | | instance.materials[id].demand [INFO] [stdout] 315 | | } [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/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | / pub extern fn get_material_supply(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 319 | | instance.materials[id].supply [INFO] [stdout] 320 | | } [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/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | / pub extern fn get_material_scarcity(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 324 | | instance.materials.get(id).unwrap().scarcity_cache [INFO] [stdout] 325 | | } [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/lib.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / pub extern fn get_product_count(instance: &Instance) -> usize { [INFO] [stdout] 329 | | instance.products.len() [INFO] [stdout] 330 | | } [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/lib.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | / pub extern fn get_product_supply(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 334 | | instance.products[id].supply [INFO] [stdout] 335 | | } [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/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | / pub extern fn get_product_demand(instance: &Instance, id: usize) -> f64 { [INFO] [stdout] 339 | | instance.products[id].demand [INFO] [stdout] 340 | | } [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/lib.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 343 | / pub extern fn get_product_priority(instance: &Instance, id: usize) -> usize { [INFO] [stdout] 344 | | instance.products[id].priority [INFO] [stdout] 345 | | } [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/lib.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / pub extern fn get_product_variant(instance: &Instance, product_id: usize, variant_id: usize) -> Component { [INFO] [stdout] 349 | | instance.products[product_id].variants[variant_id].components [INFO] [stdout] 350 | | } [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/lib.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | / pub extern fn get_next_finished(instance: &mut Instance) -> COption { [INFO] [stdout] 354 | | match instance.finished_products.pop() { [INFO] [stdout] 355 | | Some(p) => COption { is_some: true, data: p }, [INFO] [stdout] 356 | | None => COption { [INFO] [stdout] ... | [INFO] [stdout] 366 | | } [INFO] [stdout] 367 | | } [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/lib.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | / pub extern fn get_finished_count(instance: &Instance) -> usize { [INFO] [stdout] 371 | | instance.finished_products.len() [INFO] [stdout] 372 | | } [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/lib.rs:375:1 [INFO] [stdout] | [INFO] [stdout] 375 | / pub extern fn get_queue_len(instance: &Instance) -> usize { [INFO] [stdout] 376 | | let mut total = 0; [INFO] [stdout] 377 | | for i in instance.production_queue.iter() { [INFO] [stdout] 378 | | total += i.len() [INFO] [stdout] 379 | | } [INFO] [stdout] 380 | | total [INFO] [stdout] 381 | | } [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/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / pub extern fn tst_set_product_supply(instance: &mut Instance, id: usize, count: f64) { [INFO] [stdout] 389 | | instance.products.get_mut(id).unwrap().supply = count; [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `resource-mng`. [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [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 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a7f7f5439927c78bd1650513258d6d32e6ae96771298160af5ff9c2ea6f92be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a7f7f5439927c78bd1650513258d6d32e6ae96771298160af5ff9c2ea6f92be", kill_on_drop: false }` [INFO] [stdout] 7a7f7f5439927c78bd1650513258d6d32e6ae96771298160af5ff9c2ea6f92be