[INFO] cloning repository https://github.com/IgaguriMK/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/IgaguriMK/rust-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIgaguriMK%2Frust-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIgaguriMK%2Frust-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdf4c0c9ee9c412039ef2d1930545450592dac68 [INFO] testing IgaguriMK/rust-calculator against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIgaguriMK%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/IgaguriMK/rust-calculator on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IgaguriMK/rust-calculator [INFO] finished tweaking git repo https://github.com/IgaguriMK/rust-calculator [INFO] tweaked toml for git repo https://github.com/IgaguriMK/rust-calculator written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/IgaguriMK/rust-calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba2f1d7fd08cbbfc8f1057a5a304a0f48698dac4bcd648211286186108362ad2 [INFO] running `Command { std: "docker" "start" "-a" "ba2f1d7fd08cbbfc8f1057a5a304a0f48698dac4bcd648211286186108362ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba2f1d7fd08cbbfc8f1057a5a304a0f48698dac4bcd648211286186108362ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2f1d7fd08cbbfc8f1057a5a304a0f48698dac4bcd648211286186108362ad2", kill_on_drop: false }` [INFO] [stdout] ba2f1d7fd08cbbfc8f1057a5a304a0f48698dac4bcd648211286186108362ad2 [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=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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca78caa5b0511c2d4cddf4db464ab107f167b19c47b4976fb96c75970ae306e3 [INFO] running `Command { std: "docker" "start" "-a" "ca78caa5b0511c2d4cddf4db464ab107f167b19c47b4976fb96c75970ae306e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling rcalc 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/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&error::Error> { [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] 41 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 41 + 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/expression/error.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 65 + 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/execute/error.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 43 + 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/expression/token/error.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 45 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 45 + fn cause(&self) -> Option<&dyn error::Error> { [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/error.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | CalcError::Io(ref err) => err.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/error.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | CalcError::Token(ref err) => err.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/error.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | CalcError::Parse(ref err) => err.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/error.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | CalcError::Execute(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "ca78caa5b0511c2d4cddf4db464ab107f167b19c47b4976fb96c75970ae306e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca78caa5b0511c2d4cddf4db464ab107f167b19c47b4976fb96c75970ae306e3", kill_on_drop: false }` [INFO] [stdout] ca78caa5b0511c2d4cddf4db464ab107f167b19c47b4976fb96c75970ae306e3 [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=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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61ae7c1e508fe8c34fcee92483f0bc0d06b1aab8cbfe26db11ef63d4f83aaff1 [INFO] running `Command { std: "docker" "start" "-a" "61ae7c1e508fe8c34fcee92483f0bc0d06b1aab8cbfe26db11ef63d4f83aaff1", kill_on_drop: false }` [INFO] [stderr] Compiling rcalc 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/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expression/token/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lazy_static! { [INFO] [stdout] 58 | | static ref REG_SPACE: Regex = { [INFO] [stdout] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stdout] 60 | | }; [INFO] [stdout] ... | [INFO] [stdout] 100 | | }; [INFO] [stdout] 101 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&error::Error> { [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] 41 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 41 + 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/expression/error.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 65 + 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/execute/error.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 43 + 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/expression/token/error.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 45 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 45 + fn cause(&self) -> Option<&dyn error::Error> { [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/error.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | CalcError::Io(ref err) => err.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/error.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | CalcError::Token(ref err) => err.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/error.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | CalcError::Parse(ref err) => err.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/error.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | CalcError::Execute(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "61ae7c1e508fe8c34fcee92483f0bc0d06b1aab8cbfe26db11ef63d4f83aaff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ae7c1e508fe8c34fcee92483f0bc0d06b1aab8cbfe26db11ef63d4f83aaff1", kill_on_drop: false }` [INFO] [stdout] 61ae7c1e508fe8c34fcee92483f0bc0d06b1aab8cbfe26db11ef63d4f83aaff1 [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=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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 953d6c6eea4db30fff8fa9577fe22df075f4c902c67e1bcb0dcc2c2312bd84b9 [INFO] running `Command { std: "docker" "start" "-a" "953d6c6eea4db30fff8fa9577fe22df075f4c902c67e1bcb0dcc2c2312bd84b9", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/expression/token/mod.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / lazy_static! { [INFO] [stderr] 58 | | static ref REG_SPACE: Regex = { [INFO] [stderr] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stderr] 60 | | }; [INFO] [stderr] ... | [INFO] [stderr] 100 | | }; [INFO] [stderr] 101 | | } [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/expression/token/mod.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / lazy_static! { [INFO] [stderr] 58 | | static ref REG_SPACE: Regex = { [INFO] [stderr] 59 | | Regex::new(r"^[ \t]+").unwrap() [INFO] [stderr] 60 | | }; [INFO] [stderr] ... | [INFO] [stderr] 100 | | }; [INFO] [stderr] 101 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | fn cause(&self) -> Option<&error::Error> { [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] 41 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 41 + 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/expression/error.rs:65:32 [INFO] [stderr] | [INFO] [stderr] 65 | 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] 65 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 65 + 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/execute/error.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | 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] 43 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 43 + 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/expression/token/error.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | 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] 45 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 45 + fn cause(&self) -> Option<&dyn error::Error> { [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/error.rs:34:43 [INFO] [stderr] | [INFO] [stderr] 34 | CalcError::Io(ref err) => err.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/error.rs:35:46 [INFO] [stderr] | [INFO] [stderr] 35 | CalcError::Token(ref err) => err.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/error.rs:36:46 [INFO] [stderr] | [INFO] [stderr] 36 | CalcError::Parse(ref err) => err.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/error.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 37 | CalcError::Execute(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rcalc` (bin "rcalc" test) generated 30 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rcalc-94554bbf7c529d89) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test expression::shunting_yard::test::shunting_yard_one_number ... ok [INFO] [stdout] test expression::shunting_yard::test::shunting_yard_add ... ok [INFO] [stdout] test expression::shunting_yard::test::shunting_yard_add_mul_pow ... ok [INFO] [stdout] test expression::shunting_yard::test::shunting_yard_paren ... ok [INFO] [stdout] test expression::shunting_yard::test::shunting_yard_sub_div_mod ... ok [INFO] [stdout] test expression::test::build_expression_tree_add ... ok [INFO] [stdout] test expression::test::build_expression_tree_add_mult_pow ... ok [INFO] [stdout] test expression::test::build_expression_tree_fail_no_number ... ok [INFO] [stdout] test expression::test::build_expression_tree_sub_div_mod ... ok [INFO] [stdout] test expression::token::tests::str_tail_at_0 ... ok [INFO] [stdout] test expression::token::tests::str_tail_at_1 ... ok [INFO] [stdout] test expression::token::tests::str_tail_at_over_tail ... ok [INFO] [stdout] test expression::token::tests::parse_token_number_max ... ok [INFO] [stdout] test expression::token::tests::str_tail_at_tail ... ok [INFO] [stdout] test expression::token::tests::parse_token_number_1 ... ok [INFO] [stdout] test expression::token::tests::parse_token_number_min ... ok [INFO] [stdout] test expression::token::tests::parse_token_number_neg_1 ... ok [INFO] [stdout] test expression::token::tests::parse_token_add ... ok [INFO] [stdout] test expression::token::tests::parse_token_add_expr ... ok [INFO] [stdout] test expression::token::tests::parse_token_with_spaces ... ok [INFO] [stdout] test expression::token::tests::parse_token_sub ... ok [INFO] [stdout] test expression::token::tests::parse_token_mult ... ok [INFO] [stdout] test expression::token::tests::parse_token_div ... ok [INFO] [stdout] test expression::token::tests::parse_token_mod ... ok [INFO] [stdout] test expression::token::tests::parse_token_open_paren ... ok [INFO] [stdout] test expression::token::tests::parse_token_close_paren ... ok [INFO] [stdout] test expression::token::tests::parse_token_complex_1 ... ok [INFO] [stdout] test expression::token::tests::parse_token_invalid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "953d6c6eea4db30fff8fa9577fe22df075f4c902c67e1bcb0dcc2c2312bd84b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953d6c6eea4db30fff8fa9577fe22df075f4c902c67e1bcb0dcc2c2312bd84b9", kill_on_drop: false }` [INFO] [stdout] 953d6c6eea4db30fff8fa9577fe22df075f4c902c67e1bcb0dcc2c2312bd84b9