[INFO] cloning repository https://github.com/terry-u16/rco-contest-2017-qual [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terry-u16/rco-contest-2017-qual" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterry-u16%2Frco-contest-2017-qual", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterry-u16%2Frco-contest-2017-qual'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e6a0d73707a85a040e3b8beeddd1455d19ac5e7 [INFO] testing terry-u16/rco-contest-2017-qual against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterry-u16%2Frco-contest-2017-qual" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/terry-u16/rco-contest-2017-qual [INFO] finished tweaking git repo https://github.com/terry-u16/rco-contest-2017-qual [INFO] tweaked toml for git repo https://github.com/terry-u16/rco-contest-2017-qual written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/terry-u16/rco-contest-2017-qual on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/terry-u16/rco-contest-2017-qual already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71cdf1c304f2b8a922ce790dc4634a1c522956bb2e41a110cb2a72323f99624b [INFO] running `Command { std: "docker" "start" "-a" "71cdf1c304f2b8a922ce790dc4634a1c522956bb2e41a110cb2a72323f99624b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71cdf1c304f2b8a922ce790dc4634a1c522956bb2e41a110cb2a72323f99624b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71cdf1c304f2b8a922ce790dc4634a1c522956bb2e41a110cb2a72323f99624b", kill_on_drop: false }` [INFO] [stdout] 71cdf1c304f2b8a922ce790dc4634a1c522956bb2e41a110cb2a72323f99624b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db0622eb64e4e5a5f5eb08e4adbe1760d76b4b8f45428e2c92a46cffe8d0e7b3 [INFO] running `Command { std: "docker" "start" "-a" "db0622eb64e4e5a5f5eb08e4adbe1760d76b4b8f45428e2c92a46cffe8d0e7b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling amplify_num v0.4.1 [INFO] [stderr] Compiling arbitrary v1.3.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling stringly_conversions v0.1.1 [INFO] [stderr] Compiling bitset-fixed v0.1.0 [INFO] [stderr] Compiling ac-library-rs v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling glidesort v0.1.2 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling wide v0.7.16 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_hc v0.3.2 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling ordered-float v3.7.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling amplify_syn v1.1.6 [INFO] [stderr] Compiling proconio-derive v0.2.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling amplify_derive v2.11.3 [INFO] [stderr] Compiling proconio v0.4.5 [INFO] [stderr] Compiling amplify v3.14.2 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling rco-contest-2017-qual v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/bin/b.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Input {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let queue = unsafe { &mut QUEUE_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 225 | let queue = unsafe { &raw mut QUEUE_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | let weights = unsafe { &mut WEIGHTS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 226 | let weights = unsafe { &raw mut WEIGHTS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | let queue = unsafe { &mut QUEUE_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 347 | let queue = unsafe { &raw mut QUEUE_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | let weights = unsafe { &mut WEIGHTS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 348 | let weights = unsafe { &raw mut WEIGHTS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/a.rs:1101:21 [INFO] [stdout] | [INFO] [stdout] 1101 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1101 | pub fn iter(&self) -> Iter<'_, usize> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.96s [INFO] running `Command { std: "docker" "inspect" "db0622eb64e4e5a5f5eb08e4adbe1760d76b4b8f45428e2c92a46cffe8d0e7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0622eb64e4e5a5f5eb08e4adbe1760d76b4b8f45428e2c92a46cffe8d0e7b3", kill_on_drop: false }` [INFO] [stdout] db0622eb64e4e5a5f5eb08e4adbe1760d76b4b8f45428e2c92a46cffe8d0e7b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49eba36a5dcb2c9778dba30cc7ddcdcfc662fea0a8bdef943090cd2d2ac5af3 [INFO] running `Command { std: "docker" "start" "-a" "b49eba36a5dcb2c9778dba30cc7ddcdcfc662fea0a8bdef943090cd2d2ac5af3", kill_on_drop: false }` [INFO] [stderr] Compiling rco-contest-2017-qual v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/bin/b.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Input {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let queue = unsafe { &mut QUEUE_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 225 | let queue = unsafe { &raw mut QUEUE_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | let weights = unsafe { &mut WEIGHTS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 226 | let weights = unsafe { &raw mut WEIGHTS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | let queue = unsafe { &mut QUEUE_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 347 | let queue = unsafe { &raw mut QUEUE_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/bin/a.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | let weights = unsafe { &mut WEIGHTS_BUF }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 348 | let weights = unsafe { &raw mut WEIGHTS_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/a.rs:1101:21 [INFO] [stdout] | [INFO] [stdout] 1101 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1101 | pub fn iter(&self) -> Iter<'_, usize> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "b49eba36a5dcb2c9778dba30cc7ddcdcfc662fea0a8bdef943090cd2d2ac5af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49eba36a5dcb2c9778dba30cc7ddcdcfc662fea0a8bdef943090cd2d2ac5af3", kill_on_drop: false }` [INFO] [stdout] b49eba36a5dcb2c9778dba30cc7ddcdcfc662fea0a8bdef943090cd2d2ac5af3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 251c0faf41fe48b84e28e5ada0b68935a32d82bc722571e30d1e83cbf08df663 [INFO] running `Command { std: "docker" "start" "-a" "251c0faf41fe48b84e28e5ada0b68935a32d82bc722571e30d1e83cbf08df663", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/bin/a.rs:225:30 [INFO] [stderr] | [INFO] [stderr] 225 | let queue = unsafe { &mut QUEUE_BUF }; [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 225 | let queue = unsafe { &raw mut QUEUE_BUF }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/bin/a.rs:226:32 [INFO] [stderr] | [INFO] [stderr] 226 | let weights = unsafe { &mut WEIGHTS_BUF }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 226 | let weights = unsafe { &raw mut WEIGHTS_BUF }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/bin/a.rs:347:30 [INFO] [stderr] | [INFO] [stderr] 347 | let queue = unsafe { &mut QUEUE_BUF }; [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 347 | let queue = unsafe { &raw mut QUEUE_BUF }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/bin/a.rs:348:32 [INFO] [stderr] | [INFO] [stderr] 348 | let weights = unsafe { &mut WEIGHTS_BUF }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 348 | let weights = unsafe { &raw mut WEIGHTS_BUF }; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bin/a.rs:1101:21 [INFO] [stderr] | [INFO] [stderr] 1101 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1101 | pub fn iter(&self) -> Iter<'_, usize> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rco-contest-2017-qual` (bin "rco-contest-2017-qual-a" test) generated 5 warnings (run `cargo fix --bin "rco-contest-2017-qual-a" --tests` to apply 1 suggestion) [INFO] [stderr] warning: struct `Input` is never constructed [INFO] [stderr] --> src/bin/b.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | struct Input {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rco-contest-2017-qual` (bin "rco-contest-2017-qual-b" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/bin/a.rs (/opt/rustwide/target/debug/deps/rco_contest_2017_qual_a-6f4b6acff371ce91) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test data_structures::test::fast_clear_array ... ok [INFO] [stdout] test grid::test::const_map_default ... ok [INFO] [stdout] test grid::test::const_map_new ... ok [INFO] [stdout] test data_structures::test::index_set ... ok [INFO] [stdout] test grid::test::map_default ... ok [INFO] [stdout] test grid::test::coord_add_assign ... ok [INFO] [stdout] test grid::test::map_new ... ok [INFO] [stdout] test grid::test::coord_add ... ok [INFO] [stdout] test annealing::test::annealing_tsp_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/b.rs (/opt/rustwide/target/debug/deps/rco_contest_2017_qual_b-14a1a4354cc06ae6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "251c0faf41fe48b84e28e5ada0b68935a32d82bc722571e30d1e83cbf08df663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251c0faf41fe48b84e28e5ada0b68935a32d82bc722571e30d1e83cbf08df663", kill_on_drop: false }` [INFO] [stdout] 251c0faf41fe48b84e28e5ada0b68935a32d82bc722571e30d1e83cbf08df663