[INFO] fetching crate kawaii 0.1.0-alpha... [INFO] checking kawaii-0.1.0-alpha against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate kawaii 0.1.0-alpha into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate kawaii 0.1.0-alpha on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0fc3debac9297695f789354a72b8149cd6a19881abfd891ee599abfd1197b1 [INFO] running `Command { std: "docker" "start" "-a" "1e0fc3debac9297695f789354a72b8149cd6a19881abfd891ee599abfd1197b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0fc3debac9297695f789354a72b8149cd6a19881abfd891ee599abfd1197b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0fc3debac9297695f789354a72b8149cd6a19881abfd891ee599abfd1197b1", kill_on_drop: false }` [INFO] [stdout] 1e0fc3debac9297695f789354a72b8149cd6a19881abfd891ee599abfd1197b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf2352d0cf6644b8fc54c28a9f1704759c46a1acba0cf342f753159a05d2b14 [INFO] running `Command { std: "docker" "start" "-a" "abf2352d0cf6644b8fc54c28a9f1704759c46a1acba0cf342f753159a05d2b14", 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] warning: unused import: `Config` [INFO] [stdout] --> src/fmt.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use config::{Width, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/fmt.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use config::{Width, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::Kawaii` [INFO] [stdout] --> src/util.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | use traits::Kawaii; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fmt.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | fn indent(f: &mut fmt::Formatter, n: usize) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/fmt.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | fn indent(f: &mut fmt::Formatter, n: usize) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/fmt.rs:38:2 [INFO] [stdout] | [INFO] [stdout] 36 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | width: Option, [INFO] [stdout] 38 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] warning: unused variable: `f` [INFO] [stdout] --> src/fmt.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | fn indent(f: &mut fmt::Formatter, n: usize) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/fmt.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | fn indent(f: &mut fmt::Formatter, n: usize) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Kawaii`, and `Style` [INFO] [stdout] --> examples/basic.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use kawaii::{Kawaii, Style, Config}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: aborting due to 4 previous errors; 4 warnings emitted [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] [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] error: aborting due to 2 previous errors; 1 warning emitted [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 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kawaii` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "abf2352d0cf6644b8fc54c28a9f1704759c46a1acba0cf342f753159a05d2b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf2352d0cf6644b8fc54c28a9f1704759c46a1acba0cf342f753159a05d2b14", kill_on_drop: false }` [INFO] [stdout] abf2352d0cf6644b8fc54c28a9f1704759c46a1acba0cf342f753159a05d2b14