[INFO] updating cached repository https://github.com/Aaqib-kk/From-office [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 894e6c27c154297097d46bb2e3c24cb60ea98bfc [INFO] testing Aaqib-kk/From-office against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaqib-kk%2FFrom-office" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aaqib-kk/From-office on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aaqib-kk/From-office [INFO] finished tweaking git repo https://github.com/Aaqib-kk/From-office [INFO] tweaked toml for git repo https://github.com/Aaqib-kk/From-office written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Aaqib-kk/From-office already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45f11017f3421055d2a394d0a4e7181f83f9ff74a7a3739dd17b370bd654c38 [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" "a45f11017f3421055d2a394d0a4e7181f83f9ff74a7a3739dd17b370bd654c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45f11017f3421055d2a394d0a4e7181f83f9ff74a7a3739dd17b370bd654c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45f11017f3421055d2a394d0a4e7181f83f9ff74a7a3739dd17b370bd654c38", kill_on_drop: false }` [INFO] [stdout] a45f11017f3421055d2a394d0a4e7181f83f9ff74a7a3739dd17b370bd654c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af669dbd3b78f3afacf89fc3e8a3a3afd4c38f49f79919e8d3965308a564976c [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" "af669dbd3b78f3afacf89fc3e8a3a3afd4c38f49f79919e8d3965308a564976c", kill_on_drop: false }` [INFO] [stderr] Compiling assignment_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 1.0 => println!("Addition result is {}", num1 + num2), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` 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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 2.0 => println!("Subtraction result is {}", num1 - num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 3.0 => println!("Division result is {}", num1 / num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 4.0 => println!("Multiplication result is {}", num1 * num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | 5.0 => println!("Exponent result is {}", num1.powf(num2)), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 1.0 => println!("Addition result is {}", num1 + num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "af669dbd3b78f3afacf89fc3e8a3a3afd4c38f49f79919e8d3965308a564976c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af669dbd3b78f3afacf89fc3e8a3a3afd4c38f49f79919e8d3965308a564976c", kill_on_drop: false }` [INFO] [stdout] af669dbd3b78f3afacf89fc3e8a3a3afd4c38f49f79919e8d3965308a564976c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] d50f6bea9efbeb6b8795536fb86cfa8330be7416cceb6d46fec093527278c4dd [INFO] running `Command { std: "docker" "start" "-a" "d50f6bea9efbeb6b8795536fb86cfa8330be7416cceb6d46fec093527278c4dd", kill_on_drop: false }` [INFO] [stderr] Compiling assignment_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 1.0 => println!("Addition result is {}", num1 + num2), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` 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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 2.0 => println!("Subtraction result is {}", num1 - num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | 3.0 => println!("Division result is {}", num1 / num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 4.0 => println!("Multiplication result is {}", num1 * num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | 5.0 => println!("Exponent result is {}", num1.powf(num2)), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 1.0 => println!("Addition result is {}", num1 + num2), [INFO] [stdout] | ^^^ [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 #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "d50f6bea9efbeb6b8795536fb86cfa8330be7416cceb6d46fec093527278c4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50f6bea9efbeb6b8795536fb86cfa8330be7416cceb6d46fec093527278c4dd", kill_on_drop: false }` [INFO] [stdout] d50f6bea9efbeb6b8795536fb86cfa8330be7416cceb6d46fec093527278c4dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] 60a8de185e0e921ecdbff984ea4228315fac92f47092396c4b83428ee0838a3f [INFO] running `Command { std: "docker" "start" "-a" "60a8de185e0e921ecdbff984ea4228315fac92f47092396c4b83428ee0838a3f", kill_on_drop: false }` [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | 1.0 => println!("Addition result is {}", num1 + num2), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` 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 #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | 2.0 => println!("Subtraction result is {}", num1 - num2), [INFO] [stderr] | ^^^ [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 #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | 3.0 => println!("Division result is {}", num1 / num2), [INFO] [stderr] | ^^^ [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 #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | 4.0 => println!("Multiplication result is {}", num1 * num2), [INFO] [stderr] | ^^^ [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 #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | 5.0 => println!("Exponent result is {}", num1.powf(num2)), [INFO] [stderr] | ^^^ [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 #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | 1.0 => println!("Addition result is {}", num1 + num2), [INFO] [stderr] | ^^^ [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 #41620 [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/assignment_2-ce27145eeecdb693 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "60a8de185e0e921ecdbff984ea4228315fac92f47092396c4b83428ee0838a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a8de185e0e921ecdbff984ea4228315fac92f47092396c4b83428ee0838a3f", kill_on_drop: false }` [INFO] [stdout] 60a8de185e0e921ecdbff984ea4228315fac92f47092396c4b83428ee0838a3f