[INFO] fetching crate kawaii 0.1.0-alpha... [INFO] checking kawaii-0.1.0-alpha against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate kawaii 0.1.0-alpha into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kawaii 0.1.0-alpha on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e713f81fb01fe8f690e982e6e184818fb2b2b94e7c39aaeb56ad25e0fcebf7a [INFO] running `Command { std: "docker" "start" "-a" "3e713f81fb01fe8f690e982e6e184818fb2b2b94e7c39aaeb56ad25e0fcebf7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e713f81fb01fe8f690e982e6e184818fb2b2b94e7c39aaeb56ad25e0fcebf7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e713f81fb01fe8f690e982e6e184818fb2b2b94e7c39aaeb56ad25e0fcebf7a", kill_on_drop: false }` [INFO] [stdout] 3e713f81fb01fe8f690e982e6e184818fb2b2b94e7c39aaeb56ad25e0fcebf7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f7a292160a8a05a3a62cc37edbc2de8468e483f9c6b5d59b3603fad0580eb5f [INFO] running `Command { std: "docker" "start" "-a" "0f7a292160a8a05a3a62cc37edbc2de8468e483f9c6b5d59b3603fad0580eb5f", 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: `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 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] 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 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] 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] running `Command { std: "docker" "inspect" "0f7a292160a8a05a3a62cc37edbc2de8468e483f9c6b5d59b3603fad0580eb5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7a292160a8a05a3a62cc37edbc2de8468e483f9c6b5d59b3603fad0580eb5f", kill_on_drop: false }` [INFO] [stdout] 0f7a292160a8a05a3a62cc37edbc2de8468e483f9c6b5d59b3603fad0580eb5f