[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] 34ec998..f70fa5e master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f70fa5e1733d301e7973026b0ebbd4e1def5f814 [INFO] checking TheLudlows/rust-tour against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheLudlows%2Frust-tour" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheLudlows/rust-tour on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "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-5/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" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf21d8bc6c6aaa59284f76ec8c662c9ab4e5c923b6da956842e6782d6a9a2617 [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" "bf21d8bc6c6aaa59284f76ec8c662c9ab4e5c923b6da956842e6782d6a9a2617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf21d8bc6c6aaa59284f76ec8c662c9ab4e5c923b6da956842e6782d6a9a2617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf21d8bc6c6aaa59284f76ec8c662c9ab4e5c923b6da956842e6782d6a9a2617", kill_on_drop: false }` [INFO] [stdout] bf21d8bc6c6aaa59284f76ec8c662c9ab4e5c923b6da956842e6782d6a9a2617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ea6612e925f66532fb8364ea8fac5f7224f6105e6453522b872446ae94244e5 [INFO] running `Command { std: "docker" "start" "-a" "4ea6612e925f66532fb8364ea8fac5f7224f6105e6453522b872446ae94244e5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.members [INFO] [stderr] Checking rust-tour v0.1.0 (/opt/rustwide/workdir) [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: expected `;`, found `}` [INFO] [stdout] --> src/trait10.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 34 | } [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: expected `;`, found `}` [INFO] [stdout] --> src/trait10.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 34 | } [INFO] [stdout] | - unexpected token [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: `...` 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: type `traitObject` should have an upper camel case name [INFO] [stdout] --> src/trait9.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct traitObject{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `TraitObject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trait10.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stru` should have an upper camel case name [INFO] [stdout] --> src/clone.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct stru; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Stru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/option.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/option.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut i = (a.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::utils as u` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use common::utils as u; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: `...` 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: type `traitObject` should have an upper camel case name [INFO] [stdout] --> src/trait9.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct traitObject{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `TraitObject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trait10.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stru` should have an upper camel case name [INFO] [stdout] --> src/clone.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct stru; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Stru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/option.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/option.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut i = (a.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::utils as u` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use common::utils as u; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `std::marker::Copy` cannot be made into an object [INFO] [stdout] --> src/trait10.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^^^^ the trait `std::marker::Copy` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::marker::Copy` cannot be known at compilation time [INFO] [stdout] --> src/trait10.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn std::marker::Copy` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `std::marker::Copy` cannot be made into an object [INFO] [stdout] --> src/trait10.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^^^^ the trait `std::marker::Copy` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [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 5 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::marker::Copy` cannot be known at compilation time [INFO] [stdout] --> src/trait10.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let c:Copy [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `dyn std::marker::Copy` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [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] 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 5 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4ea6612e925f66532fb8364ea8fac5f7224f6105e6453522b872446ae94244e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea6612e925f66532fb8364ea8fac5f7224f6105e6453522b872446ae94244e5", kill_on_drop: false }` [INFO] [stdout] 4ea6612e925f66532fb8364ea8fac5f7224f6105e6453522b872446ae94244e5