[INFO] fetching crate ary 0.1.0... [INFO] testing ary-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ary 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ary 0.1.0 [INFO] finished tweaking crates.io crate ary 0.1.0 [INFO] tweaked toml for crates.io crate ary 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ary 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfec53e8c7a02cda44f4e5d6e4283dada34bafca5e55ab978af887d621cbe8a6 [INFO] running `Command { std: "docker" "start" "-a" "cfec53e8c7a02cda44f4e5d6e4283dada34bafca5e55ab978af887d621cbe8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfec53e8c7a02cda44f4e5d6e4283dada34bafca5e55ab978af887d621cbe8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfec53e8c7a02cda44f4e5d6e4283dada34bafca5e55ab978af887d621cbe8a6", kill_on_drop: false }` [INFO] [stdout] cfec53e8c7a02cda44f4e5d6e4283dada34bafca5e55ab978af887d621cbe8a6 [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70efaa80da3c9bc7051e7ab825fbf714b57d2453339aea2750be29edb326283f [INFO] running `Command { std: "docker" "start" "-a" "70efaa80da3c9bc7051e7ab825fbf714b57d2453339aea2750be29edb326283f", kill_on_drop: false }` [INFO] [stderr] Compiling ary v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "70efaa80da3c9bc7051e7ab825fbf714b57d2453339aea2750be29edb326283f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70efaa80da3c9bc7051e7ab825fbf714b57d2453339aea2750be29edb326283f", kill_on_drop: false }` [INFO] [stdout] 70efaa80da3c9bc7051e7ab825fbf714b57d2453339aea2750be29edb326283f [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30b5e4b3c334aeb0f63dbe8b6cf3e2c1e363e1b1fa44e1f01795547d5ad67159 [INFO] running `Command { std: "docker" "start" "-a" "30b5e4b3c334aeb0f63dbe8b6cf3e2c1e363e1b1fa44e1f01795547d5ad67159", kill_on_drop: false }` [INFO] [stderr] Compiling ary v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 329 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 329 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 356 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 356 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 127 | const X: [i32; 58] = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] | ________________________- [INFO] [stdout] 128 | | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | | 40: -1000, [INFO] [stdout] 130 | | ]; [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 329 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 ~ const X: [i32; 58] = let _ = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] 128 | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | 40: -1000, [INFO] [stdout] 130 ~ ];; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 127 | const X: [i32; 58] = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] | ________________________- [INFO] [stdout] 128 | | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | | 40: -1000, [INFO] [stdout] 130 | | ]; [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 329 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 ~ const X: [i32; 58] = let _ = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] 128 | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | 40: -1000, [INFO] [stdout] 130 ~ ];; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 127 | const X: [i32; 58] = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] | ________________________- [INFO] [stdout] 128 | | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | | 40: -1000, [INFO] [stdout] 130 | | ]; [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 356 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 ~ const X: [i32; 58] = let _ = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] 128 | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | 40: -1000, [INFO] [stdout] 130 ~ ];; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 127 | const X: [i32; 58] = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] | ________________________- [INFO] [stdout] 128 | | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | | 40: -1000, [INFO] [stdout] 130 | | ]; [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 356 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 127 ~ const X: [i32; 58] = let _ = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stdout] 128 | 30..40: |i| -(i as i32), [INFO] [stdout] 129 | 40: -1000, [INFO] [stdout] 130 ~ ];; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 141 | const Y: &[u8] = &ary![0; 32 => [INFO] [stdout] | _____________________- [INFO] [stdout] 142 | | 5.._: "a string!".as_bytes(), [INFO] [stdout] 143 | | ]; [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 329 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 ~ const Y: &[u8] = &let _ = ary![0; 32 => [INFO] [stdout] 142 | 5.._: "a string!".as_bytes(), [INFO] [stdout] 143 ~ ];; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 141 | const Y: &[u8] = &ary![0; 32 => [INFO] [stdout] | _____________________- [INFO] [stdout] 142 | | 5.._: "a string!".as_bytes(), [INFO] [stdout] 143 | | ]; [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 356 | i - start [INFO] [stdout] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 ~ const Y: &[u8] = &let _ = ary![0; 32 => [INFO] [stdout] 142 | 5.._: "a string!".as_bytes(), [INFO] [stdout] 143 ~ ];; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "30b5e4b3c334aeb0f63dbe8b6cf3e2c1e363e1b1fa44e1f01795547d5ad67159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30b5e4b3c334aeb0f63dbe8b6cf3e2c1e363e1b1fa44e1f01795547d5ad67159", kill_on_drop: false }` [INFO] [stdout] 30b5e4b3c334aeb0f63dbe8b6cf3e2c1e363e1b1fa44e1f01795547d5ad67159 [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42cd9228f30d7c5fe10abb60aa725ffa5361eae49615e89ba03e927b50a00244 [INFO] running `Command { std: "docker" "start" "-a" "42cd9228f30d7c5fe10abb60aa725ffa5361eae49615e89ba03e927b50a00244", kill_on_drop: false }` [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:329:5 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stdout] test test ... ok [INFO] [stderr] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stdout] [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] ... [INFO] [stdout] [INFO] [stderr] 329 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/lib.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 329 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/lib.rs:356:5 [INFO] [stderr] | [INFO] [stderr] 126 | const Z: &[i32] = &ary![0; 15 => 8: 27, 9: !0]; [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 356 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 126 | const Z: &[i32] = &let _ = ary![0; 15 => 8: 27, 9: !0];; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/lib.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 127 | const X: [i32; 58] = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stderr] | ________________________- [INFO] [stderr] 128 | | 30..40: |i| -(i as i32), [INFO] [stderr] 129 | | 40: -1000, [INFO] [stderr] 130 | | ]; [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 329 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 127 ~ const X: [i32; 58] = let _ = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stderr] 128 | 30..40: |i| -(i as i32), [INFO] [stderr] 129 | 40: -1000, [INFO] [stderr] 130 ~ ];; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/lib.rs:356:5 [INFO] [stderr] | [INFO] [stderr] 127 | const X: [i32; 58] = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stderr] | ________________________- [INFO] [stderr] 128 | | 30..40: |i| -(i as i32), [INFO] [stderr] 129 | | 40: -1000, [INFO] [stderr] 130 | | ]; [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 356 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 127 ~ const X: [i32; 58] = let _ = ary![1, in [2; 40], in Z, in [3; 2] => [INFO] [stderr] 128 | 30..40: |i| -(i as i32), [INFO] [stderr] 129 | 40: -1000, [INFO] [stderr] 130 ~ ];; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/lib.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 141 | const Y: &[u8] = &ary![0; 32 => [INFO] [stderr] | _____________________- [INFO] [stderr] 142 | | 5.._: "a string!".as_bytes(), [INFO] [stderr] 143 | | ]; [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 329 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__ary__mark_init` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 141 ~ const Y: &[u8] = &let _ = ary![0; 32 => [INFO] [stderr] 142 | 5.._: "a string!".as_bytes(), [INFO] [stderr] 143 ~ ];; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/lib.rs:356:5 [INFO] [stderr] | [INFO] [stderr] 141 | const Y: &[u8] = &ary![0; 32 => [INFO] [stderr] | _____________________- [INFO] [stderr] 142 | | 5.._: "a string!".as_bytes(), [INFO] [stderr] 143 | | ]; [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 356 | i - start [INFO] [stderr] | ^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__ary__insert` which comes from the expansion of the macro `ary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 141 ~ const Y: &[u8] = &let _ = ary![0; 32 => [INFO] [stderr] 142 | 5.._: "a string!".as_bytes(), [INFO] [stderr] 143 ~ ];; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ary` (lib test) generated 10 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ary-12087399daa8b2d1) [INFO] [stderr] Doc-tests ary [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 103) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] test src/lib.rs - (line 57) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 86) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42cd9228f30d7c5fe10abb60aa725ffa5361eae49615e89ba03e927b50a00244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cd9228f30d7c5fe10abb60aa725ffa5361eae49615e89ba03e927b50a00244", kill_on_drop: false }` [INFO] [stdout] 42cd9228f30d7c5fe10abb60aa725ffa5361eae49615e89ba03e927b50a00244