[INFO] cloning repository https://github.com/ear7h/bool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ear7h/bool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fbool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fbool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10839f1bd6a3ec331bf8b10071a0d6935e6a968e [INFO] testing ear7h/bool against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fbool" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ear7h/bool on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ear7h/bool [INFO] finished tweaking git repo https://github.com/ear7h/bool [INFO] tweaked toml for git repo https://github.com/ear7h/bool written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ear7h/bool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55714fb5098936f062917ca74e195fe0bc8339f4a778eb2af9f4bab4ce954d22 [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" "55714fb5098936f062917ca74e195fe0bc8339f4a778eb2af9f4bab4ce954d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55714fb5098936f062917ca74e195fe0bc8339f4a778eb2af9f4bab4ce954d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55714fb5098936f062917ca74e195fe0bc8339f4a778eb2af9f4bab4ce954d22", kill_on_drop: false }` [INFO] [stdout] 55714fb5098936f062917ca74e195fe0bc8339f4a778eb2af9f4bab4ce954d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--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] 964673fb073d1d0abfe5eda64967910d76c849150840f7a2a930b1157d72c32a [INFO] running `Command { std: "docker" "start" "-a" "964673fb073d1d0abfe5eda64967910d76c849150840f7a2a930b1157d72c32a", kill_on_drop: false }` [INFO] [stderr] Compiling bool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | ... (box Expr::Or(x, y) | box Expr::And(x, y)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - (box Expr::Or(x, y) | box Expr::And(x, y)), [INFO] [stdout] 319 + box Expr::Or(x, y) | box Expr::And(x, y), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | ... (box Expr::Or(y, z) | box Expr::And(y, z)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - (box Expr::Or(y, z) | box Expr::And(y, z)), [INFO] [stdout] 347 + box Expr::Or(y, z) | box Expr::And(y, z), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:741:9 [INFO] [stdout] | [INFO] [stdout] 741 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dsl::*` [INFO] [stdout] --> src/main.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | use super::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | let expr = Expr::And( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | Expr::And(x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stdout] | ^ [INFO] [stdout] 261 | Expr::And(x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 260 ~ Expr::And(_x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stdout] 261 ~ Expr::And(_x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:260:50 [INFO] [stdout] | [INFO] [stdout] 260 | Expr::And(x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stdout] | ^ [INFO] [stdout] 261 | Expr::And(x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 260 ~ Expr::And(x @ box Expr::One, _y @ box Expr::Zero) | [INFO] [stdout] 261 ~ Expr::And(x @ box Expr::Zero, _y @ box Expr::One) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bindings_after_at` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(bindings_after_at)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | ... std::mem::replace(self, Expr::Zero); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | ... std::mem::replace(self, Expr::Zero); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | ... std::mem::replace(self, Expr::One); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | ... std::mem::replace(self, Expr::One); [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] [INFO] [stdout] [INFO] [stdout] warning: constant `one` should have an upper case name [INFO] [stdout] --> src/main.rs:664:15 [INFO] [stdout] | [INFO] [stdout] 664 | pub const one : Expr = Expr::One; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `zero` should have an upper case name [INFO] [stdout] --> src/main.rs:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | pub const zero : Expr = Expr::Zero; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ZERO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "964673fb073d1d0abfe5eda64967910d76c849150840f7a2a930b1157d72c32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964673fb073d1d0abfe5eda64967910d76c849150840f7a2a930b1157d72c32a", kill_on_drop: false }` [INFO] [stdout] 964673fb073d1d0abfe5eda64967910d76c849150840f7a2a930b1157d72c32a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--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] e27c328428d303b215019f9732af9fb6ba537609fbf384d6d114cb91bc79b4db [INFO] running `Command { std: "docker" "start" "-a" "e27c328428d303b215019f9732af9fb6ba537609fbf384d6d114cb91bc79b4db", kill_on_drop: false }` [INFO] [stderr] Compiling bool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | ... (box Expr::Or(x, y) | box Expr::And(x, y)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - (box Expr::Or(x, y) | box Expr::And(x, y)), [INFO] [stdout] 319 + box Expr::Or(x, y) | box Expr::And(x, y), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | ... (box Expr::Or(y, z) | box Expr::And(y, z)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - (box Expr::Or(y, z) | box Expr::And(y, z)), [INFO] [stdout] 347 + box Expr::Or(y, z) | box Expr::And(y, z), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | let expr = Expr::And( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | Expr::And(x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stdout] | ^ [INFO] [stdout] 261 | Expr::And(x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 260 ~ Expr::And(_x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stdout] 261 ~ Expr::And(_x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:260:50 [INFO] [stdout] | [INFO] [stdout] 260 | Expr::And(x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stdout] | ^ [INFO] [stdout] 261 | Expr::And(x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 260 ~ Expr::And(x @ box Expr::One, _y @ box Expr::Zero) | [INFO] [stdout] 261 ~ Expr::And(x @ box Expr::Zero, _y @ box Expr::One) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bindings_after_at` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(bindings_after_at)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | std::mem::replace($dest, xx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | swap!(self, x); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | ... std::mem::replace(self, Expr::Zero); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | ... std::mem::replace(self, Expr::Zero); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | ... std::mem::replace(self, Expr::One); [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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | ... std::mem::replace(self, Expr::One); [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] [INFO] [stdout] [INFO] [stdout] warning: constant `one` should have an upper case name [INFO] [stdout] --> src/main.rs:664:15 [INFO] [stdout] | [INFO] [stdout] 664 | pub const one : Expr = Expr::One; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ONE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `zero` should have an upper case name [INFO] [stdout] --> src/main.rs:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | pub const zero : Expr = Expr::Zero; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ZERO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "e27c328428d303b215019f9732af9fb6ba537609fbf384d6d114cb91bc79b4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27c328428d303b215019f9732af9fb6ba537609fbf384d6d114cb91bc79b4db", kill_on_drop: false }` [INFO] [stdout] e27c328428d303b215019f9732af9fb6ba537609fbf384d6d114cb91bc79b4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fab06fd1cecab9d12796f38b3c2b4803a8fbc1451141ac5bebf0bdba6fac10de [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" "fab06fd1cecab9d12796f38b3c2b4803a8fbc1451141ac5bebf0bdba6fac10de", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/main.rs:319:33 [INFO] [stderr] | [INFO] [stderr] 319 | ... (box Expr::Or(x, y) | box Expr::And(x, y)), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 319 - (box Expr::Or(x, y) | box Expr::And(x, y)), [INFO] [stderr] 319 + box Expr::Or(x, y) | box Expr::And(x, y), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/main.rs:347:33 [INFO] [stderr] | [INFO] [stderr] 347 | ... (box Expr::Or(y, z) | box Expr::And(y, z)), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 347 - (box Expr::Or(y, z) | box Expr::And(y, z)), [INFO] [stderr] 347 + box Expr::Or(y, z) | box Expr::And(y, z), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expr` [INFO] [stderr] --> src/main.rs:688:9 [INFO] [stderr] | [INFO] [stderr] 688 | let expr = Expr::And( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:260:31 [INFO] [stderr] | [INFO] [stderr] 260 | Expr::And(x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stderr] | ^ [INFO] [stderr] 261 | Expr::And(x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 260 ~ Expr::And(_x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stderr] 261 ~ Expr::And(_x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:260:50 [INFO] [stderr] | [INFO] [stderr] 260 | Expr::And(x @ box Expr::One, y @ box Expr::Zero) | [INFO] [stderr] | ^ [INFO] [stderr] 261 | Expr::And(x @ box Expr::Zero, y @ box Expr::One) => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 260 ~ Expr::And(x @ box Expr::One, _y @ box Expr::Zero) | [INFO] [stderr] 261 ~ Expr::And(x @ box Expr::Zero, _y @ box Expr::One) => { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the feature `bindings_after_at` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(bindings_after_at)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(or_patterns)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | std::mem::replace($dest, xx); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] running 10 tests [INFO] [stderr] ... [INFO] [stdout] test tests::test_expr_eq ... ok [INFO] [stderr] 193 | swap!(self, x); [INFO] [stdout] test tests::test_reduction_associate ... ok [INFO] [stderr] | -------------- in this macro invocation [INFO] [stdout] test tests::test_reduction_complement ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_reduction_id ... ok [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] test tests::test_reduction_null ... ok [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | std::mem::replace($dest, xx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | swap!(self, x); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | std::mem::replace($dest, xx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 224 | swap!(self, x); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | std::mem::replace($dest, xx); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 238 | swap!(self, x); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:254:29 [INFO] [stderr] | [INFO] [stderr] 254 | ... std::mem::replace(self, Expr::Zero); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:263:29 [INFO] [stderr] | [INFO] [stderr] 263 | ... std::mem::replace(self, Expr::Zero); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:272:29 [INFO] [stderr] | [INFO] [stderr] 272 | ... std::mem::replace(self, Expr::One); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:281:29 [INFO] [stderr] | [INFO] [stderr] 281 | ... std::mem::replace(self, Expr::One); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: constant `one` should have an upper case name [INFO] [stderr] --> src/main.rs:664:15 [INFO] [stderr] | [INFO] [stderr] 664 | pub const one : Expr = Expr::One; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `ONE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `zero` should have an upper case name [INFO] [stderr] --> src/main.rs:665:15 [INFO] [stderr] | [INFO] [stderr] 665 | pub const zero : Expr = Expr::Zero; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `ZERO` [INFO] [stderr] [INFO] [stderr] warning: `bool` (bin "bool" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bool-dd30231ec6974bec) [INFO] [stdout] test tests::test_reduction_idempotent ... ok [INFO] [stdout] test tests::test_reduction_involve ... ok [INFO] [stdout] test tests::test_reduction_commute ... ok [INFO] [stdout] test tests::test_table_eq ... ok [INFO] [stdout] test tests::test_reduction_distribute ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fab06fd1cecab9d12796f38b3c2b4803a8fbc1451141ac5bebf0bdba6fac10de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab06fd1cecab9d12796f38b3c2b4803a8fbc1451141ac5bebf0bdba6fac10de", kill_on_drop: false }` [INFO] [stdout] fab06fd1cecab9d12796f38b3c2b4803a8fbc1451141ac5bebf0bdba6fac10de