[INFO] updating cached repository https://github.com/TheLudlows/rust-tour [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/TheLudlows/rust-tour [INFO] [stderr] bda174e..113c369 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 113c3696caecd99f24b299bd1b59b701bbf608c1 [INFO] checking TheLudlows/rust-tour against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheLudlows%2Frust-tour" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheLudlows/rust-tour on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheLudlows/rust-tour [INFO] finished tweaking git repo https://github.com/TheLudlows/rust-tour [INFO] tweaked toml for git repo https://github.com/TheLudlows/rust-tour written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/TheLudlows/rust-tour already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.members [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab728fd9243b0679eb91543f201b31197e9d8489b9919493c0083cf663a84e87 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab728fd9243b0679eb91543f201b31197e9d8489b9919493c0083cf663a84e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab728fd9243b0679eb91543f201b31197e9d8489b9919493c0083cf663a84e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab728fd9243b0679eb91543f201b31197e9d8489b9919493c0083cf663a84e87", kill_on_drop: false }` [INFO] [stdout] ab728fd9243b0679eb91543f201b31197e9d8489b9919493c0083cf663a84e87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef932da62cf59b9abc14b3ee8831ff5d73708be29fd45c17f5af4d7bd9d7c8d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ef932da62cf59b9abc14b3ee8831ff5d73708be29fd45c17f5af4d7bd9d7c8d", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused manifest key: package.members [INFO] [stderr] Checking rust-tour v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `struct` [INFO] [stdout] --> src/iter.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(sum,3) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] ... [INFO] [stdout] 25 | struct Counter { [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/rowp.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | let z = x as *usize; [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Box` [INFO] [stdout] --> src/boxes.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Box [INFO] [stdout] | ^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/generic.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `person` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct person { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Person` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sex` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum sex { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | m, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | f, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `enum_` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | enum enum_ { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | b(String), [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `s` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | s { num: u32, name: String }, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/thread6.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `struct` [INFO] [stdout] --> src/iter.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(sum,3) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] ... [INFO] [stdout] 25 | struct Counter { [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trait6.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn A+B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/FlowControl.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | 1...3 => println!("1...3"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `empty` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct empty; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `person` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | struct person (String,String,usize); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::utils as u` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use common::utils as u; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/rowp.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | let z = x as *usize; [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Box` [INFO] [stdout] --> src/boxes.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Box [INFO] [stdout] | ^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/generic.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/traits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `person` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct person { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Person` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sex` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum sex { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | m, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f` should have an upper camel case name [INFO] [stdout] --> src/mods.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | f, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `enum_` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | enum enum_ { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | b(String), [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `s` should have an upper camel case name [INFO] [stdout] --> src/enums.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | s { num: u32, name: String }, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/thread6.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trait6.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn A+B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/FlowControl.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | 1...3 => println!("1...3"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `empty` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct empty; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `person` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | struct person (String,String,usize); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::utils as u` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use common::utils as u; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0225]: only auto traits can be used as additional traits in a trait object [INFO] [stdout] --> src/trait6.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | - ^ [INFO] [stdout] | | | [INFO] [stdout] | | additional non-auto trait [INFO] [stdout] | | trait alias used in trait object type (additional use) [INFO] [stdout] | first non-auto trait [INFO] [stdout] | trait alias used in trait object type (first use) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[closure@src/trait6.rs:15:32: 15:49]: trait6::A` is not satisfied [INFO] [stdout] --> src/trait6.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `trait6::A` is not implemented for `[closure@src/trait6.rs:15:32: 15:49]` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn trait6::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[closure@src/trait6.rs:15:32: 15:49]: trait6::B` is not satisfied [INFO] [stdout] --> src/trait6.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `trait6::B` is not implemented for `[closure@src/trait6.rs:15:32: 15:49]` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn trait6::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/weak3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0225, E0277, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0225`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tour`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0225]: only auto traits can be used as additional traits in a trait object [INFO] [stdout] --> src/trait6.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | - ^ [INFO] [stdout] | | | [INFO] [stdout] | | additional non-auto trait [INFO] [stdout] | | trait alias used in trait object type (additional use) [INFO] [stdout] | first non-auto trait [INFO] [stdout] | trait alias used in trait object type (first use) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[closure@src/trait6.rs:15:32: 15:49]: trait6::A` is not satisfied [INFO] [stdout] --> src/trait6.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `trait6::A` is not implemented for `[closure@src/trait6.rs:15:32: 15:49]` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn trait6::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[closure@src/trait6.rs:15:32: 15:49]: trait6::B` is not satisfied [INFO] [stdout] --> src/trait6.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let f: Box = Box::new(|| println!("hi")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `trait6::B` is not implemented for `[closure@src/trait6.rs:15:32: 15:49]` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn trait6::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/weak3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0225, E0277, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0225`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7ef932da62cf59b9abc14b3ee8831ff5d73708be29fd45c17f5af4d7bd9d7c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef932da62cf59b9abc14b3ee8831ff5d73708be29fd45c17f5af4d7bd9d7c8d", kill_on_drop: false }` [INFO] [stdout] 7ef932da62cf59b9abc14b3ee8831ff5d73708be29fd45c17f5af4d7bd9d7c8d