[INFO] fetching crate kawaii 0.1.0-alpha... [INFO] checking kawaii-0.1.0-alpha against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate kawaii 0.1.0-alpha into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate kawaii 0.1.0-alpha on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kawaii 0.1.0-alpha [INFO] finished tweaking crates.io crate kawaii 0.1.0-alpha [INFO] tweaked toml for crates.io crate kawaii 0.1.0-alpha written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.10.2 (available: v0.12.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faeac0951a781ba572484db708791a44847926b3dead1a1317dbaacca0caaa5c [INFO] running `Command { std: "docker" "start" "-a" "faeac0951a781ba572484db708791a44847926b3dead1a1317dbaacca0caaa5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faeac0951a781ba572484db708791a44847926b3dead1a1317dbaacca0caaa5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faeac0951a781ba572484db708791a44847926b3dead1a1317dbaacca0caaa5c", kill_on_drop: false }` [INFO] [stdout] faeac0951a781ba572484db708791a44847926b3dead1a1317dbaacca0caaa5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17eb52a1e96b5f4b1a10798c968d03c183fe0fe34c1f1c741a6d2de51c20833 [INFO] running `Command { std: "docker" "start" "-a" "e17eb52a1e96b5f4b1a10798c968d03c183fe0fe34c1f1c741a6d2de51c20833", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking kawaii v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Rc` [INFO] [stdout] --> src/util.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(kawaii::empty(), Rc::new(Document::Empty)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Rc [INFO] [stdout] | Rc [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Document` [INFO] [stdout] --> src/document.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Document` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/document.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(PartialEq)] [INFO] [stdout] 23 | pub enum Document { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Rc` [INFO] [stdout] --> src/util.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | / assert_eq!(kawaii::string("foo"), [INFO] [stdout] 80 | | Rc::new(Document::String("foo".into()))); [INFO] [stdout] | | ^ [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] | |____________________________________________________Rc [INFO] [stdout] | Rc [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Document` [INFO] [stdout] --> src/document.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Document` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/document.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(PartialEq)] [INFO] [stdout] 23 | pub enum Document { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Rc: Kawaii` is not satisfied [INFO] [stdout] --> src/util.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(kawaii::concat(&[kawaii::string("foo"), kawaii::string("bar")]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Kawaii` is not implemented for `&Rc` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `util::concat` [INFO] [stdout] --> src/util.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn concat>(values: I) -> Rc { [INFO] [stdout] | ^^^^^^ required by this bound in `concat` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(&kawaii::concat(&[kawaii::string("foo"), kawaii::string("bar")]), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Rc` [INFO] [stdout] --> src/util.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | / assert_eq!(kawaii::concat(&[kawaii::string("foo"), kawaii::string("bar")]), [INFO] [stdout] 86 | | Rc::new(Document::Cons { [INFO] [stdout] 87 | | left: Rc::new(Document::String("foo".into())), [INFO] [stdout] 88 | | right: Rc::new(Document::String("bar".into())), [INFO] [stdout] 89 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | |_______________| [INFO] [stdout] | |_______________Rc [INFO] [stdout] | Rc [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Document` [INFO] [stdout] --> src/document.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Document { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Document` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/document.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(PartialEq)] [INFO] [stdout] 23 | pub enum Document { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kawaii` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Vec<{integer}>: Kawaii` is not satisfied [INFO] [stdout] --> examples/basic.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | kawaii::print(vec![1, 2, 3]); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ the trait `Kawaii` is not implemented for `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Kawaii`: [INFO] [stdout] &'a std::string::String [INFO] [stdout] &'a str [INFO] [stdout] Rc [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 7 others [INFO] [stdout] note: required by a bound in `print` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print(value: T) { [INFO] [stdout] | ^^^^^^ required by this bound in `print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: Kawaii` is not satisfied [INFO] [stdout] --> examples/basic.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | kawaii::print(Foo); [INFO] [stdout] | ------------- ^^^ the trait `Kawaii` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Kawaii`: [INFO] [stdout] &'a std::string::String [INFO] [stdout] &'a str [INFO] [stdout] Rc [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 7 others [INFO] [stdout] note: required by a bound in `print` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print(value: T) { [INFO] [stdout] | ^^^^^^ required by this bound in `print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kawaii` (example "basic") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e17eb52a1e96b5f4b1a10798c968d03c183fe0fe34c1f1c741a6d2de51c20833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17eb52a1e96b5f4b1a10798c968d03c183fe0fe34c1f1c741a6d2de51c20833", kill_on_drop: false }` [INFO] [stdout] e17eb52a1e96b5f4b1a10798c968d03c183fe0fe34c1f1c741a6d2de51c20833