[INFO] fetching crate rouler 0.2.1... [INFO] testing rouler-0.2.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate rouler 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate rouler 0.2.1 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 crates.io crate rouler 0.2.1 [INFO] finished tweaking crates.io crate rouler 0.2.1 [INFO] tweaked toml for crates.io crate rouler 0.2.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] 0742415f149dc4f2e908f27e4256bd616c8a34d2741b258a0ce01f604cf352cd [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" "0742415f149dc4f2e908f27e4256bd616c8a34d2741b258a0ce01f604cf352cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0742415f149dc4f2e908f27e4256bd616c8a34d2741b258a0ce01f604cf352cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0742415f149dc4f2e908f27e4256bd616c8a34d2741b258a0ce01f604cf352cd", kill_on_drop: false }` [INFO] [stdout] 0742415f149dc4f2e908f27e4256bd616c8a34d2741b258a0ce01f604cf352cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 94004f500f56f45ed7f1884de502659036c01e5b873c3ec3839d11bebf77c056 [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" "94004f500f56f45ed7f1884de502659036c01e5b873c3ec3839d11bebf77c056", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling rouler v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.01s [INFO] running `Command { std: "docker" "inspect" "94004f500f56f45ed7f1884de502659036c01e5b873c3ec3839d11bebf77c056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94004f500f56f45ed7f1884de502659036c01e5b873c3ec3839d11bebf77c056", kill_on_drop: false }` [INFO] [stdout] 94004f500f56f45ed7f1884de502659036c01e5b873c3ec3839d11bebf77c056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 192aa8f9764de9640c997fc8f0d935ebaad7192ac84e68c98b9713c8e93f2d9f [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" "192aa8f9764de9640c997fc8f0d935ebaad7192ac84e68c98b9713c8e93f2d9f", kill_on_drop: false }` [INFO] [stderr] Compiling rouler v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/roller.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(($begin <= $val) && ($val <= $end)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 42 | assert_range!(10 => roll_dice("2d[5, 6, 7]") => 14) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_range` [INFO] [stdout] = note: this warning originates in the macro `assert_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/roller.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(($begin <= $val) && ($val <= $end)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | assert_range!(10 => roll_dice("2d[5,6,7]") => 14) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_range` [INFO] [stdout] = note: this warning originates in the macro `assert_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/roller.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(($begin <= $val) && ($val <= $end)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 80 | assert_range!(1 => Roller::new("1 d 6").total() => 6) [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_range` [INFO] [stdout] = note: this warning originates in the macro `assert_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "192aa8f9764de9640c997fc8f0d935ebaad7192ac84e68c98b9713c8e93f2d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192aa8f9764de9640c997fc8f0d935ebaad7192ac84e68c98b9713c8e93f2d9f", kill_on_drop: false }` [INFO] [stdout] 192aa8f9764de9640c997fc8f0d935ebaad7192ac84e68c98b9713c8e93f2d9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff5dd6410c4fc94ff9c6163585a888ed090ddb81549e1d7f2e38dcd58ad73b00 [INFO] running `Command { std: "docker" "start" "-a" "ff5dd6410c4fc94ff9c6163585a888ed090ddb81549e1d7f2e38dcd58ad73b00", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/roller.rs:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | assert!(($begin <= $val) && ($val <= $end)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 42 | assert_range!(10 => roll_dice("2d[5, 6, 7]") => 14) [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_range` [INFO] [stderr] = note: this warning originates in the macro `assert_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/roller.rs:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | assert!(($begin <= $val) && ($val <= $end)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 49 | assert_range!(10 => roll_dice("2d[5,6,7]") => 14) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_range` [INFO] [stderr] = note: this warning originates in the macro `assert_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/roller.rs:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | assert!(($begin <= $val) && ($val <= $end)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 80 | assert_range!(1 => Roller::new("1 d 6").total() => 6) [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_range` [INFO] [stderr] = note: this warning originates in the macro `assert_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rouler` (test "roller") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rouler-1e1f880bcb55570e) [INFO] [stderr] Running tests/roller.rs (/opt/rustwide/target/debug/deps/roller-f0e8c59dba3d4709) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test spaces_not_allowed_in_die_codes ... ignored [INFO] [stdout] test reroll_changes_value ... ok [INFO] [stdout] test rollers_are_iterators ... ok [INFO] [stdout] test negative_dice_negates_roll_value ... ok [INFO] [stdout] test d_op_is_case_insensitive ... ok [INFO] [stdout] test roller_object_within_range ... ok [INFO] [stdout] test roll_dice_within_range ... ok [INFO] [stdout] test custom_dice_spaces_optional ... ok [INFO] [stdout] test roll_custom_dice_within_range ... ok [INFO] [stderr] Doc-tests rouler [INFO] [stdout] test num_of_dice_nonzero - should panic ... ok [INFO] [stdout] test non_zero_sides_disallowed - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 35) ... ignored [INFO] [stdout] test src/roll.rs - roll::Roller::iter (line 185) ... ignored [INFO] [stdout] test src/roll.rs - roll::roller_or_fail (line 59) ... ok [INFO] [stdout] test src/roll.rs - roll::Roller::new (line 111) ... ok [INFO] [stdout] test src/roll.rs - roll::Roller::iter (line 177) ... ok [INFO] [stdout] test src/roll.rs - roll::roll_dice_or_fail (line 42) ... ok [INFO] [stdout] test src/lib.rs - (line 21) ... ok [INFO] [stdout] test src/roll.rs - roll::Roller::new (line 99) ... ok [INFO] [stdout] test src/roll.rs - roll::roll_dice (line 24) ... ok [INFO] [stdout] test src/roll.rs - roll::Roller::new (line 125) ... ok [INFO] [stdout] test src/roll.rs - roll::Roller::iter (line 168) ... ok [INFO] [stdout] test src/roll.rs - roll::Roller::reroll (line 141) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 4.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff5dd6410c4fc94ff9c6163585a888ed090ddb81549e1d7f2e38dcd58ad73b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5dd6410c4fc94ff9c6163585a888ed090ddb81549e1d7f2e38dcd58ad73b00", kill_on_drop: false }` [INFO] [stdout] ff5dd6410c4fc94ff9c6163585a888ed090ddb81549e1d7f2e38dcd58ad73b00