[INFO] cloning repository https://github.com/BookOwl/rust-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BookOwl/rust-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBookOwl%2Frust-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBookOwl%2Frust-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de77ce1328f12ab7a8d9860336a7f5cb728be8d2 [INFO] testing BookOwl/rust-calculator against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBookOwl%2Frust-calculator" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BookOwl/rust-calculator on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BookOwl/rust-calculator [INFO] finished tweaking git repo https://github.com/BookOwl/rust-calculator [INFO] tweaked toml for git repo https://github.com/BookOwl/rust-calculator written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/BookOwl/rust-calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v0.1.75 [INFO] [stderr] Downloaded libc v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1624f1fa8673ab7eee077fd838f43d894097ccc9c2f2ff8f4a41c8a943b7c301 [INFO] running `Command { std: "docker" "start" "-a" "1624f1fa8673ab7eee077fd838f43d894097ccc9c2f2ff8f4a41c8a943b7c301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1624f1fa8673ab7eee077fd838f43d894097ccc9c2f2ff8f4a41c8a943b7c301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1624f1fa8673ab7eee077fd838f43d894097ccc9c2f2ff8f4a41c8a943b7c301", kill_on_drop: false }` [INFO] [stdout] 1624f1fa8673ab7eee077fd838f43d894097ccc9c2f2ff8f4a41c8a943b7c301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b17fe8197c5ca9186ec99ba3d91e2303369ffacbf10f8bb80a7d6908d58447d [INFO] running `Command { std: "docker" "start" "-a" "9b17fe8197c5ca9186ec99ba3d91e2303369ffacbf10f8bb80a7d6908d58447d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.15 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.5 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.6 [INFO] [stderr] Compiling regex v0.1.75 [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref NUMBER_RE: Regex = Regex::new(r"^[0-9]+").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref NUMBER_RE: Regex = Regex::new(r"^[0-9]+").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | while !(input.trim_left().is_empty()) { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | input = input.trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | input.trim_left_matches(|c| c == '+' || [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "9b17fe8197c5ca9186ec99ba3d91e2303369ffacbf10f8bb80a7d6908d58447d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b17fe8197c5ca9186ec99ba3d91e2303369ffacbf10f8bb80a7d6908d58447d", kill_on_drop: false }` [INFO] [stdout] 9b17fe8197c5ca9186ec99ba3d91e2303369ffacbf10f8bb80a7d6908d58447d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebf75b43bdc21b10e4b197fdc681ab867eeba5e9345d534be87397926da038a0 [INFO] running `Command { std: "docker" "start" "-a" "ebf75b43bdc21b10e4b197fdc681ab867eeba5e9345d534be87397926da038a0", kill_on_drop: false }` [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref NUMBER_RE: Regex = Regex::new(r"^[0-9]+").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref NUMBER_RE: Regex = Regex::new(r"^[0-9]+").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | while !(input.trim_left().is_empty()) { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | input = input.trim_left().to_string(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | input.trim_left_matches(|c| c == '+' || [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "ebf75b43bdc21b10e4b197fdc681ab867eeba5e9345d534be87397926da038a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf75b43bdc21b10e4b197fdc681ab867eeba5e9345d534be87397926da038a0", kill_on_drop: false }` [INFO] [stdout] ebf75b43bdc21b10e4b197fdc681ab867eeba5e9345d534be87397926da038a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5192e65ae183fac94ce404aa64284f5030254bcd406b9310f3add0fc632cb35 [INFO] running `Command { std: "docker" "start" "-a" "e5192e65ae183fac94ce404aa64284f5030254bcd406b9310f3add0fc632cb35", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 34 | / lazy_static! { [INFO] [stdout] [INFO] [stderr] 35 | | static ref NUMBER_RE: Regex = Regex::new(r"^[0-9]+").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / lazy_static! { [INFO] [stderr] 35 | | static ref NUMBER_RE: Regex = Regex::new(r"^[0-9]+").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/main.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | while !(input.trim_left().is_empty()) { [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/main.rs:39:23 [INFO] [stderr] | [INFO] [stderr] 39 | input = input.trim_left().to_string(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/main.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | input.trim_left_matches(|c| c == '+' || [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/calculator-283bfbeb12b03281) [INFO] running `Command { std: "docker" "inspect" "e5192e65ae183fac94ce404aa64284f5030254bcd406b9310f3add0fc632cb35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5192e65ae183fac94ce404aa64284f5030254bcd406b9310f3add0fc632cb35", kill_on_drop: false }` [INFO] [stdout] e5192e65ae183fac94ce404aa64284f5030254bcd406b9310f3add0fc632cb35