[INFO] updating cached repository ging0044/toy-language [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ging0044/toy-language [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ging0044/toy-language" "work/ex/beta-1.38-1/sources/1.37.0/gh/ging0044/toy-language"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/ging0044/toy-language'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ging0044/toy-language" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ging0044/toy-language"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ging0044/toy-language'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2e7d7f3bcb181ee03cb1088101a589f84202a7a4 [INFO] sha for GitHub repo ging0044/toy-language: 2e7d7f3bcb181ee03cb1088101a589f84202a7a4 [INFO] validating manifest of ging0044/toy-language on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ging0044/toy-language on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ging0044/toy-language [INFO] finished frobbing ging0044/toy-language [INFO] frobbed toml for ging0044/toy-language written to work/ex/beta-1.38-1/sources/1.37.0/gh/ging0044/toy-language/Cargo.toml [INFO] started frobbing ging0044/toy-language [INFO] finished frobbing ging0044/toy-language [INFO] frobbed toml for ging0044/toy-language written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ging0044/toy-language/Cargo.toml [INFO] crate ging0044/toy-language already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing ging0044/toy-language against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/ging0044/toy-language:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 20ee65443d8b9813a08ac0fddd59cbd5b68191ab9bbeb36286d3239b69b7785b [INFO] running `"docker" "start" "-a" "20ee65443d8b9813a08ac0fddd59cbd5b68191ab9bbeb36286d3239b69b7785b"` [INFO] [stderr] Compiling toy-language v0.0.1 (/opt/crater/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 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 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate [INFO] [stderr] | [INFO] [stderr] = note: the impl does not reference only types defined in this crate [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate [INFO] [stderr] | [INFO] [stderr] = note: the impl does not reference only types defined in this crate [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate [INFO] [stderr] | [INFO] [stderr] = note: the impl does not reference only types defined in this crate [INFO] [stderr] = note: define and implement a trait or new type instead [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [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" "20ee65443d8b9813a08ac0fddd59cbd5b68191ab9bbeb36286d3239b69b7785b"` [INFO] running `"docker" "rm" "-f" "20ee65443d8b9813a08ac0fddd59cbd5b68191ab9bbeb36286d3239b69b7785b"` [INFO] [stdout] 20ee65443d8b9813a08ac0fddd59cbd5b68191ab9bbeb36286d3239b69b7785b