[INFO] cloning repository https://github.com/ging0044/toy-language [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fging0044%2Ftoy-language'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2e7d7f3bcb181ee03cb1088101a589f84202a7a4 [INFO] checking ging0044/toy-language against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fging0044%2Ftoy-language" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ging0044/toy-language on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/ging0044/toy-language already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 67d191a4ed9be3233d5b2163e72132ab2b48bd6b58b975ed601f08c44f2240f5 [INFO] running `"docker" "start" "-a" "67d191a4ed9be3233d5b2163e72132ab2b48bd6b58b975ed601f08c44f2240f5"` [INFO] [stderr] Checking toy-language v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | impl PartialEq for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | fn eq(&self, _: &Box) -> AST>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | impl Clone for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | fn clone(&self) -> Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | native: Option) -> AST>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/parser/parser.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | impl PartialEq for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: conflicting implementation in crate `alloc`: [INFO] [stderr] - impl std::cmp::PartialEq for std::boxed::Box [INFO] [stderr] where T: std::cmp::PartialEq, T: ?Sized; [INFO] [stderr] = 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] [stderr] [INFO] [stderr] 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] [stderr] --> src/parser/parser.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: conflicting implementation in crate `alloc`: [INFO] [stderr] - impl std::fmt::Debug for std::boxed::Box [INFO] [stderr] where T: std::fmt::Debug, T: ?Sized; [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stderr] --> src/parser/parser.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | impl doesn't use only types from inside the current crate [INFO] [stderr] | [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | impl PartialEq for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | fn eq(&self, _: &Box) -> AST>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | impl Clone for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | fn clone(&self) -> Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stderr] --> src/parser/parser.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | impl PartialEq for Box) -> AST> { [INFO] [stderr] | ^^^^^---------^^^^^------------------------ [INFO] [stderr] | | | | [INFO] [stderr] | | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | impl doesn't use only types from inside the current crate [INFO] [stderr] | [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | native: Option) -> AST>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> AST` [INFO] [stderr] [INFO] [stderr] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stderr] --> src/parser/parser.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | impl Clone for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | impl doesn't use only types from inside the current crate [INFO] [stderr] | [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0117, E0119. [INFO] [stderr] For more information about an error, try `rustc --explain E0117`. [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] [stderr] 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] [stderr] --> src/parser/parser.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | impl PartialEq for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: conflicting implementation in crate `alloc`: [INFO] [stderr] - impl std::cmp::PartialEq for std::boxed::Box [INFO] [stderr] where T: std::cmp::PartialEq, T: ?Sized; [INFO] [stderr] = 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] [stderr] [INFO] [stderr] 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] [stderr] --> src/parser/parser.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: conflicting implementation in crate `alloc`: [INFO] [stderr] - impl std::fmt::Debug for std::boxed::Box [INFO] [stderr] where T: std::fmt::Debug, T: ?Sized; [INFO] [stderr] = 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] [stderr] [INFO] [stderr] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stderr] --> src/parser/parser.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | impl fmt::Debug for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | impl doesn't use only types from inside the current crate [INFO] [stderr] | [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stderr] --> src/parser/parser.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | impl PartialEq for Box) -> AST> { [INFO] [stderr] | ^^^^^---------^^^^^------------------------ [INFO] [stderr] | | | | [INFO] [stderr] | | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | impl doesn't use only types from inside the current crate [INFO] [stderr] | [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stderr] --> src/parser/parser.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | impl Clone for Box) -> AST> { [INFO] [stderr] | ^^^^^^^^^^^^^^^------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `dyn std::ops::Fn(std::vec::Vec) -> parser::parser::AST` is not defined in the current crate [INFO] [stderr] | impl doesn't use only types from inside the current crate [INFO] [stderr] | [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0117, E0119. [INFO] [stderr] For more information about an error, try `rustc --explain E0117`. [INFO] [stderr] error: could not compile `toy-language`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "67d191a4ed9be3233d5b2163e72132ab2b48bd6b58b975ed601f08c44f2240f5"` [INFO] running `"docker" "rm" "-f" "67d191a4ed9be3233d5b2163e72132ab2b48bd6b58b975ed601f08c44f2240f5"` [INFO] [stdout] 67d191a4ed9be3233d5b2163e72132ab2b48bd6b58b975ed601f08c44f2240f5