[INFO] fetching crate kawaii 0.1.0-alpha... [INFO] testing kawaii-0.1.0-alpha against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kawaii 0.1.0-alpha into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kawaii 0.1.0-alpha on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d56674726626b8e249f8138cfce77de0b9275f0e5412455b416db4bee92b2cd0 [INFO] running `Command { std: "docker" "start" "-a" "d56674726626b8e249f8138cfce77de0b9275f0e5412455b416db4bee92b2cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d56674726626b8e249f8138cfce77de0b9275f0e5412455b416db4bee92b2cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d56674726626b8e249f8138cfce77de0b9275f0e5412455b416db4bee92b2cd0", kill_on_drop: false }` [INFO] [stdout] d56674726626b8e249f8138cfce77de0b9275f0e5412455b416db4bee92b2cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6caceb2fa37f37a14019360f47272e007927efe9c19d57dce01adab601373c21 [INFO] running `Command { std: "docker" "start" "-a" "6caceb2fa37f37a14019360f47272e007927efe9c19d57dce01adab601373c21", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6caceb2fa37f37a14019360f47272e007927efe9c19d57dce01adab601373c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6caceb2fa37f37a14019360f47272e007927efe9c19d57dce01adab601373c21", kill_on_drop: false }` [INFO] [stdout] 6caceb2fa37f37a14019360f47272e007927efe9c19d57dce01adab601373c21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf3742bfa2b5ed47b5d309efe25d0cd9676854aad0359d1f2f75bc09409f76d [INFO] running `Command { std: "docker" "start" "-a" "abf3742bfa2b5ed47b5d309efe25d0cd9676854aad0359d1f2f75bc09409f76d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] 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] | ------------- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Kawaii` is not implemented for `Foo` [INFO] [stdout] --> examples/basic.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | struct Foo; [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; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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] running `Command { std: "docker" "inspect" "abf3742bfa2b5ed47b5d309efe25d0cd9676854aad0359d1f2f75bc09409f76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf3742bfa2b5ed47b5d309efe25d0cd9676854aad0359d1f2f75bc09409f76d", kill_on_drop: false }` [INFO] [stdout] abf3742bfa2b5ed47b5d309efe25d0cd9676854aad0359d1f2f75bc09409f76d