[INFO] cloning repository https://github.com/owtotwo/Simple-Calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/owtotwo/Simple-Calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowtotwo%2FSimple-Calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowtotwo%2FSimple-Calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a39a3ac091f43aa037e186183e00d67359a25ba3 [INFO] testing owtotwo/Simple-Calculator against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowtotwo%2FSimple-Calculator" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/owtotwo/Simple-Calculator on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/owtotwo/Simple-Calculator [INFO] finished tweaking git repo https://github.com/owtotwo/Simple-Calculator [INFO] tweaked toml for git repo https://github.com/owtotwo/Simple-Calculator written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/owtotwo/Simple-Calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c5a1311d0e8ba8293b435fd5eba2b8836fc6b2ccc97c11218dff57b7e22f33b [INFO] running `Command { std: "docker" "start" "-a" "4c5a1311d0e8ba8293b435fd5eba2b8836fc6b2ccc97c11218dff57b7e22f33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c5a1311d0e8ba8293b435fd5eba2b8836fc6b2ccc97c11218dff57b7e22f33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c5a1311d0e8ba8293b435fd5eba2b8836fc6b2ccc97c11218dff57b7e22f33b", kill_on_drop: false }` [INFO] [stdout] 4c5a1311d0e8ba8293b435fd5eba2b8836fc6b2ccc97c11218dff57b7e22f33b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa5a7fb0b88ae9ab531a04313c9ba95381998fcb0dce077f1812364201928f0f [INFO] running `Command { std: "docker" "start" "-a" "aa5a7fb0b88ae9ab531a04313c9ba95381998fcb0dce077f1812364201928f0f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/calculator/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | type Result = result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - type Result = result::Result>; [INFO] [stdout] 18 + type Result = result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/calculator/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/calculator/expr/mod.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - type Result = std::result::Result>; [INFO] [stdout] 14 + type Result = std::result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/calculator/expr/operator.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | match raw_expr.trim_left() { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/calculator/expr/term.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | let mut rest_of_expr = raw_term.trim_left(); [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/calculator/expr/factor.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rest_of_expr = raw_factor.trim_left(); [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/calculator/expr/integer.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | let mut rest_of_expr = raw_int.trim_left(); [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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/integer.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/calculator/expr/mod.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | let mut rest_of_expr = raw_expr.trim_left(); [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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | CalculatorError::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | self.disp(why.description(), true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | self.disp(why.description(), true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | self.disp(why.description(), true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/calculator/mod.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | if dirty_expr.trim_right().len() == 0 { [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/error.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | impl_display_for_error!(EvalError); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/error.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/calculator/expr/operator.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / new_error_type!( [INFO] [stdout] 45 | | ParseOperatorError, [INFO] [stdout] 46 | | "expect '+', '-', '*', '/', '(' or ')'" [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/error.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/calculator/expr/factor.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | new_error_type!(ParseFactorError); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "aa5a7fb0b88ae9ab531a04313c9ba95381998fcb0dce077f1812364201928f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5a7fb0b88ae9ab531a04313c9ba95381998fcb0dce077f1812364201928f0f", kill_on_drop: false }` [INFO] [stdout] aa5a7fb0b88ae9ab531a04313c9ba95381998fcb0dce077f1812364201928f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cc8d7e5aaaa6a7483e874f0e154f4f85d7c727dec2e113672ee5bd95494f4c7 [INFO] running `Command { std: "docker" "start" "-a" "0cc8d7e5aaaa6a7483e874f0e154f4f85d7c727dec2e113672ee5bd95494f4c7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/calculator/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | type Result = result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - type Result = result::Result>; [INFO] [stdout] 18 + type Result = result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/calculator/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/calculator/expr/mod.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - type Result = std::result::Result>; [INFO] [stdout] 14 + type Result = std::result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/calculator/expr/operator.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | match raw_expr.trim_left() { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/calculator/expr/term.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | let mut rest_of_expr = raw_term.trim_left(); [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/calculator/expr/factor.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | let mut rest_of_expr = raw_factor.trim_left(); [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/calculator/expr/integer.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | let mut rest_of_expr = raw_int.trim_left(); [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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/integer.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/calculator/expr/mod.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | let mut rest_of_expr = raw_expr.trim_left(); [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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | CalculatorError::IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | self.disp(why.description(), true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | self.disp(why.description(), true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/mod.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | self.disp(why.description(), true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/calculator/mod.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | if dirty_expr.trim_right().len() == 0 { [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/error.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | impl_display_for_error!(EvalError); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/error.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/calculator/expr/operator.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / new_error_type!( [INFO] [stdout] 45 | | ParseOperatorError, [INFO] [stdout] 46 | | "expect '+', '-', '*', '/', '(' or ')'" [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/calculator/expr/error.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/calculator/expr/factor.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | new_error_type!(ParseFactorError); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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" "0cc8d7e5aaaa6a7483e874f0e154f4f85d7c727dec2e113672ee5bd95494f4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc8d7e5aaaa6a7483e874f0e154f4f85d7c727dec2e113672ee5bd95494f4c7", kill_on_drop: false }` [INFO] [stdout] 0cc8d7e5aaaa6a7483e874f0e154f4f85d7c727dec2e113672ee5bd95494f4c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 812222978b196069005a15ff66e60214b8ac8d395ebd18ce3c7f9ea6d0f8f45c [INFO] running `Command { std: "docker" "start" "-a" "812222978b196069005a15ff66e60214b8ac8d395ebd18ce3c7f9ea6d0f8f45c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/calculator/mod.rs:18:40 [INFO] [stderr] | [INFO] [stderr] 18 | type Result = result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - type Result = result::Result>; [INFO] [stderr] 18 + type Result = result::Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/calculator/mod.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 51 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/calculator/expr/mod.rs:14:45 [INFO] [stderr] | [INFO] [stderr] 14 | type Result = std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - type Result = std::result::Result>; [INFO] [stderr] 14 + type Result = std::result::Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/calculator/expr/operator.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | match raw_expr.trim_left() { [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/calculator/expr/term.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | let mut rest_of_expr = raw_term.trim_left(); [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/calculator/expr/factor.rs:21:43 [INFO] [stderr] | [INFO] [stderr] 21 | let mut rest_of_expr = raw_factor.trim_left(); [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/calculator/expr/integer.rs:13:40 [INFO] [stderr] | [INFO] [stderr] 13 | let mut rest_of_expr = raw_int.trim_left(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/expr/integer.rs:97:14 [INFO] [stderr] | [INFO] [stderr] 97 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/calculator/expr/mod.rs:33:41 [INFO] [stderr] | [INFO] [stderr] 33 | let mut rest_of_expr = raw_expr.trim_left(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/mod.rs:46:50 [INFO] [stderr] | [INFO] [stderr] 46 | CalculatorError::IOError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/mod.rs:75:35 [INFO] [stderr] | [INFO] [stderr] 75 | self.disp(why.description(), true); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/mod.rs:90:35 [INFO] [stderr] | [INFO] [stderr] 90 | self.disp(why.description(), true); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/mod.rs:99:35 [INFO] [stderr] | [INFO] [stderr] 99 | self.disp(why.description(), true); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/calculator/mod.rs:128:27 [INFO] [stderr] | [INFO] [stderr] 128 | if dirty_expr.trim_right().len() == 0 { [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/expr/error.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | impl_display_for_error!(EvalError); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/expr/error.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/calculator/expr/operator.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / new_error_type!( [INFO] [stderr] 45 | | ParseOperatorError, [INFO] [stderr] 46 | | "expect '+', '-', '*', '/', '(' or ')'" [INFO] [stderr] 47 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/calculator/expr/error.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/calculator/expr/factor.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | new_error_type!(ParseFactorError); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_display_for_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `calculator` (bin "calculator" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/calculator-92b5ecdcc4d98dc6) [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] running `Command { std: "docker" "inspect" "812222978b196069005a15ff66e60214b8ac8d395ebd18ce3c7f9ea6d0f8f45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "812222978b196069005a15ff66e60214b8ac8d395ebd18ce3c7f9ea6d0f8f45c", kill_on_drop: false }` [INFO] [stdout] 812222978b196069005a15ff66e60214b8ac8d395ebd18ce3c7f9ea6d0f8f45c