[INFO] cloning repository https://github.com/ging0044/toy-language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ging0044/toy-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fging0044%2Ftoy-language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fging0044%2Ftoy-language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e7d7f3bcb181ee03cb1088101a589f84202a7a4 [INFO] checking ging0044/toy-language against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fging0044%2Ftoy-language" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ging0044/toy-language on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ging0044/toy-language [INFO] finished tweaking git repo https://github.com/ging0044/toy-language [INFO] tweaked toml for git repo https://github.com/ging0044/toy-language written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ging0044/toy-language already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f0a01e696ecaaceb035c9f00e652138d9c38864af11c1f6007c55995616952d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f0a01e696ecaaceb035c9f00e652138d9c38864af11c1f6007c55995616952d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f0a01e696ecaaceb035c9f00e652138d9c38864af11c1f6007c55995616952d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0a01e696ecaaceb035c9f00e652138d9c38864af11c1f6007c55995616952d", kill_on_drop: false }` [INFO] [stdout] 7f0a01e696ecaaceb035c9f00e652138d9c38864af11c1f6007c55995616952d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c7d9f63eaf6ace576750b6f34d508f0f3a340bfba48e977ab0c6e7ef9e629b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17c7d9f63eaf6ace576750b6f34d508f0f3a340bfba48e977ab0c6e7ef9e629b", kill_on_drop: false }` [INFO] [stderr] Checking toy-language v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | impl PartialEq for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn eq(&self, _: &Box) -> AST>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | impl Clone for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn clone(&self) -> Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | native: Option) -> AST>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::cmp::PartialEq` for type `std::boxed::Box<(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)>` [INFO] [stdout] --> src/parser/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | impl PartialEq for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `alloc`: [INFO] [stdout] - impl PartialEq for Box [INFO] [stdout] where T: PartialEq, A: Allocator, T: ?Sized; [INFO] [stdout] = note: upstream crates may add a new impl of trait `std::cmp::PartialEq` for type `(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)` in future versions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `std::boxed::Box<(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)>` [INFO] [stdout] --> src/parser/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `alloc`: [INFO] [stdout] - impl Debug for Box [INFO] [stdout] where T: Debug, A: Allocator, T: ?Sized; [INFO] [stdout] = note: upstream crates may add a new impl of trait `std::fmt::Debug` for type `(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)` in future versions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/parser/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stdout] | ^^^^^----------^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/parser/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | impl PartialEq for Box) -> AST> { [INFO] [stdout] | ^^^^^---------^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/parser/parser.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl Clone for Box) -> AST> { [INFO] [stdout] | ^^^^^-----^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | impl PartialEq for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn eq(&self, _: &Box) -> AST>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | impl Clone for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn clone(&self) -> Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | native: Option) -> AST>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0119. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toy-language` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::cmp::PartialEq` for type `std::boxed::Box<(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)>` [INFO] [stdout] --> src/parser/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | impl PartialEq for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `alloc`: [INFO] [stdout] - impl PartialEq for Box [INFO] [stdout] where T: PartialEq, A: Allocator, T: ?Sized; [INFO] [stdout] = note: upstream crates may add a new impl of trait `std::cmp::PartialEq` for type `(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)` in future versions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `std::boxed::Box<(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)>` [INFO] [stdout] --> src/parser/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `alloc`: [INFO] [stdout] - impl Debug for Box [INFO] [stdout] where T: Debug, A: Allocator, T: ?Sized; [INFO] [stdout] = note: upstream crates may add a new impl of trait `std::fmt::Debug` for type `(dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST + 'static)` in future versions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/parser/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stdout] | ^^^^^----------^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/parser/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | impl PartialEq for Box) -> AST> { [INFO] [stdout] | ^^^^^---------^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/parser/parser.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl Clone for Box) -> AST> { [INFO] [stdout] | ^^^^^-----^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `dyn Fn(Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stdout] | | `std::alloc::Global` is not defined in the current crate [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0119. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17c7d9f63eaf6ace576750b6f34d508f0f3a340bfba48e977ab0c6e7ef9e629b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c7d9f63eaf6ace576750b6f34d508f0f3a340bfba48e977ab0c6e7ef9e629b", kill_on_drop: false }` [INFO] [stdout] 17c7d9f63eaf6ace576750b6f34d508f0f3a340bfba48e977ab0c6e7ef9e629b