[INFO] cloning repository https://github.com/AndrewGaspar/empire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndrewGaspar/empire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewGaspar%2Fempire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewGaspar%2Fempire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f489a59ad0f0d30ce8cf54110e75d62858ced6f [INFO] checking AndrewGaspar/empire/4f489a59ad0f0d30ce8cf54110e75d62858ced6f against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewGaspar%2Fempire" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AndrewGaspar/empire on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AndrewGaspar/empire [INFO] finished tweaking git repo https://github.com/AndrewGaspar/empire [INFO] tweaked toml for git repo https://github.com/AndrewGaspar/empire written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AndrewGaspar/empire 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/libempire/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/mpiexec/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/empire/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d77ba4817afbdf274a5fff79f77159390821bfa536a14439acae551ecba9ccc [INFO] running `Command { std: "docker" "start" "-a" "8d77ba4817afbdf274a5fff79f77159390821bfa536a14439acae551ecba9ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d77ba4817afbdf274a5fff79f77159390821bfa536a14439acae551ecba9ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d77ba4817afbdf274a5fff79f77159390821bfa536a14439acae551ecba9ccc", kill_on_drop: false }` [INFO] [stdout] 8d77ba4817afbdf274a5fff79f77159390821bfa536a14439acae551ecba9ccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d851f2a2669f007eeb52a52564888f2ae86c49a38f681d9b378f9ca6ab541a8d [INFO] running `Command { std: "docker" "start" "-a" "d851f2a2669f007eeb52a52564888f2ae86c49a38f681d9b378f9ca6ab541a8d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/empire/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/mpiexec/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/libempire/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking mio-uds v0.6.6 [INFO] [stderr] Checking tokio-executor v0.1.4 [INFO] [stderr] Checking tokio-io v0.1.8 [INFO] [stderr] Checking tokio-timer v0.2.6 [INFO] [stderr] Checking tokio-current-thread v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.4 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.1 [INFO] [stderr] Checking tokio-signal v0.2.2 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio-process v0.2.2 (https://github.com/alexcrichton/tokio-process.git#9b7667b7) [INFO] [stderr] Checking tokio v0.1.8 [INFO] [stderr] Checking empire v0.1.0 (/opt/rustwide/workdir/empire) [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> empire/src/port.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | fn process_new_connection(connection: TcpStream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> empire/src/error.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | &Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> empire/src/error.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | &Error::TokioIoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> empire/src/port.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | fn process_new_connection(connection: TcpStream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> empire/src/error.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | &Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> empire/src/error.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | &Error::TokioIoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `universe` is never used [INFO] [stdout] --> empire/src/comm.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl Comm { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn universe(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comm_parent` is never read [INFO] [stdout] --> empire/src/universe.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Universe { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | comm_parent: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libempire v0.1.0 (/opt/rustwide/workdir/libempire) [INFO] [stderr] Checking mpiexec v0.1.0 (/opt/rustwide/workdir/mpiexec) [INFO] [stdout] warning: method `universe` is never used [INFO] [stdout] --> empire/src/comm.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl Comm { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn universe(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comm_parent` is never read [INFO] [stdout] --> empire/src/universe.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Universe { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | comm_parent: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Comm` [INFO] [stdout] --> mpiexec/src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use empire::{comm, Comm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Comm` [INFO] [stdout] --> mpiexec/src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use empire::{comm, Comm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comm` [INFO] [stdout] --> mpiexec/src/main.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | let empire::comm::SpawnMultipleResult { comm, results } = locked [INFO] [stdout] | ^^^^ help: try ignoring the field: `comm: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> libempire/src/comm.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub extern "C" fn MPI_Comm_get_parent(parent: *mut MPI_Comm) -> Error { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comm` [INFO] [stdout] --> mpiexec/src/main.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | let empire::comm::SpawnMultipleResult { comm, results } = locked [INFO] [stdout] | ^^^^ help: try ignoring the field: `comm: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> libempire/src/comm.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub extern "C" fn MPI_Comm_get_parent(parent: *mut MPI_Comm) -> Error { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> libempire/src/info.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Box::from_raw(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = Box::from_raw(self.handle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> libempire/src/info.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / mem::replace( [INFO] [stdout] 266 | | info.expect("NULL is not a valid parameter to MPI_Comm_free."), [INFO] [stdout] 267 | | MPI_INFO_NULL, [INFO] [stdout] 268 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 265 ~ let _ = mem::replace( [INFO] [stdout] 266 | info.expect("NULL is not a valid parameter to MPI_Comm_free."), [INFO] [stdout] 267 | MPI_INFO_NULL, [INFO] [stdout] 268 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / UNIVERSE [INFO] [stdout] 27 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | MPI_COMM_SELF.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | MPI_COMM_WORLD.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | MPI_COMM_NULL.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | MPI_INFO_NULL.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> libempire/src/handles.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Box::from_raw(self.handle as *mut CommHandle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = Box::from_raw(self.handle as *mut CommHandle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> libempire/src/info.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Box::from_raw(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = Box::from_raw(self.handle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> libempire/src/info.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / mem::replace( [INFO] [stdout] 266 | | info.expect("NULL is not a valid parameter to MPI_Comm_free."), [INFO] [stdout] 267 | | MPI_INFO_NULL, [INFO] [stdout] 268 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 265 ~ let _ = mem::replace( [INFO] [stdout] 266 | info.expect("NULL is not a valid parameter to MPI_Comm_free."), [INFO] [stdout] 267 | MPI_INFO_NULL, [INFO] [stdout] 268 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / UNIVERSE [INFO] [stdout] 27 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | MPI_COMM_SELF.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | MPI_COMM_WORLD.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | MPI_COMM_NULL.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> libempire/src/init.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | MPI_INFO_NULL.free(); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> libempire/src/handles.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Box::from_raw(self.handle as *mut CommHandle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = Box::from_raw(self.handle as *mut CommHandle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "d851f2a2669f007eeb52a52564888f2ae86c49a38f681d9b378f9ca6ab541a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d851f2a2669f007eeb52a52564888f2ae86c49a38f681d9b378f9ca6ab541a8d", kill_on_drop: false }` [INFO] [stdout] d851f2a2669f007eeb52a52564888f2ae86c49a38f681d9b378f9ca6ab541a8d