[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fbool" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ear7h/bool on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", 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] 5aae6645088f2c3e37fbbe8d083f7af4913492d94c80a33a3342c58d15246361 [INFO] running `Command { std: "docker" "start" "-a" "5aae6645088f2c3e37fbbe8d083f7af4913492d94c80a33a3342c58d15246361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aae6645088f2c3e37fbbe8d083f7af4913492d94c80a33a3342c58d15246361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aae6645088f2c3e37fbbe8d083f7af4913492d94c80a33a3342c58d15246361", kill_on_drop: false }` [INFO] [stdout] 5aae6645088f2c3e37fbbe8d083f7af4913492d94c80a33a3342c58d15246361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb76efc5b09062c65d1b1bd6d9c64e40eaf99e04d3997f291bad0c06d45f942 [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" "feb76efc5b09062c65d1b1bd6d9c64e40eaf99e04d3997f291bad0c06d45f942", 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.58s [INFO] running `Command { std: "docker" "inspect" "feb76efc5b09062c65d1b1bd6d9c64e40eaf99e04d3997f291bad0c06d45f942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb76efc5b09062c65d1b1bd6d9c64e40eaf99e04d3997f291bad0c06d45f942", kill_on_drop: false }` [INFO] [stdout] feb76efc5b09062c65d1b1bd6d9c64e40eaf99e04d3997f291bad0c06d45f942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ff866477eee752f0150ffb0ff7c510d8461866b009052ff19f10d5785db99cd [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" "4ff866477eee752f0150ffb0ff7c510d8461866b009052ff19f10d5785db99cd", 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.64s [INFO] running `Command { std: "docker" "inspect" "4ff866477eee752f0150ffb0ff7c510d8461866b009052ff19f10d5785db99cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff866477eee752f0150ffb0ff7c510d8461866b009052ff19f10d5785db99cd", kill_on_drop: false }` [INFO] [stdout] 4ff866477eee752f0150ffb0ff7c510d8461866b009052ff19f10d5785db99cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7e1198e4b4bd871d79138f283461a44049a3a65ec21fdf1e3ac8fbc4430af6b [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" "e7e1198e4b4bd871d79138f283461a44049a3a65ec21fdf1e3ac8fbc4430af6b", 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] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 193 | swap!(self, x); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [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.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bool-dd30231ec6974bec) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_reduction_associate ... ok [INFO] [stdout] test tests::test_reduction_id ... ok [INFO] [stdout] test tests::test_reduction_null ... ok [INFO] [stdout] test tests::test_reduction_commute ... ok [INFO] [stdout] test tests::test_reduction_distribute ... ok [INFO] [stdout] test tests::test_reduction_complement ... ok [INFO] [stdout] test tests::test_table_eq ... ok [INFO] [stdout] test tests::test_reduction_idempotent ... ok [INFO] [stdout] test tests::test_reduction_involve ... ok [INFO] [stdout] test tests::test_expr_eq ... 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" "e7e1198e4b4bd871d79138f283461a44049a3a65ec21fdf1e3ac8fbc4430af6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e1198e4b4bd871d79138f283461a44049a3a65ec21fdf1e3ac8fbc4430af6b", kill_on_drop: false }` [INFO] [stdout] e7e1198e4b4bd871d79138f283461a44049a3a65ec21fdf1e3ac8fbc4430af6b