[INFO] fetching crate kawaii 0.1.0-alpha... [INFO] checking kawaii-0.1.0-alpha against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kawaii 0.1.0-alpha into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kawaii 0.1.0-alpha on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e23df409f93384fe23e94ed5e57c91b5809b6786148d50262f34f5b03b38f1 [INFO] running `Command { std: "docker" "start" "-a" "d7e23df409f93384fe23e94ed5e57c91b5809b6786148d50262f34f5b03b38f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e23df409f93384fe23e94ed5e57c91b5809b6786148d50262f34f5b03b38f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e23df409f93384fe23e94ed5e57c91b5809b6786148d50262f34f5b03b38f1", kill_on_drop: false }` [INFO] [stdout] d7e23df409f93384fe23e94ed5e57c91b5809b6786148d50262f34f5b03b38f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6f3981ca7f9a0e327fe2bc1941402b536bcbe151d5e673317e18ed3ef40d102 [INFO] running `Command { std: "docker" "start" "-a" "a6f3981ca7f9a0e327fe2bc1941402b536bcbe151d5e673317e18ed3ef40d102", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking traitobject v0.1.1 [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] 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] 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; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `kawaii` (example "basic") due to 2 previous errors; 1 warning emitted [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] running `Command { std: "docker" "inspect" "a6f3981ca7f9a0e327fe2bc1941402b536bcbe151d5e673317e18ed3ef40d102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f3981ca7f9a0e327fe2bc1941402b536bcbe151d5e673317e18ed3ef40d102", kill_on_drop: false }` [INFO] [stdout] a6f3981ca7f9a0e327fe2bc1941402b536bcbe151d5e673317e18ed3ef40d102