[INFO] cloning repository https://github.com/gsspdev/rust-base [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gsspdev/rust-base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsspdev%2Frust-base", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsspdev%2Frust-base'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a481f12f9f088c3291ff9ae08a8a98ac6e02677 [INFO] checking gsspdev/rust-base against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsspdev%2Frust-base" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsspdev/rust-base on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gsspdev/rust-base [INFO] finished tweaking git repo https://github.com/gsspdev/rust-base [INFO] tweaked toml for git repo https://github.com/gsspdev/rust-base written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gsspdev/rust-base already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking gsspdev/rust-base against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsspdev%2Frust-base" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsspdev/rust-base on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gsspdev/rust-base [INFO] finished tweaking git repo https://github.com/gsspdev/rust-base [INFO] tweaked toml for git repo https://github.com/gsspdev/rust-base written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gsspdev/rust-base already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gsspdev/rust-base against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsspdev%2Frust-base" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsspdev/rust-base on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gsspdev/rust-base [INFO] finished tweaking git repo https://github.com/gsspdev/rust-base [INFO] tweaked toml for git repo https://github.com/gsspdev/rust-base written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gsspdev/rust-base already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 537186dc6bfed09d3ac27019f54fcf72e3e24ea7290814f87899ce08351e7ebb [INFO] running `Command { std: "docker" "start" "-a" "537186dc6bfed09d3ac27019f54fcf72e3e24ea7290814f87899ce08351e7ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "537186dc6bfed09d3ac27019f54fcf72e3e24ea7290814f87899ce08351e7ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537186dc6bfed09d3ac27019f54fcf72e3e24ea7290814f87899ce08351e7ebb", kill_on_drop: false }` [INFO] [stdout] 537186dc6bfed09d3ac27019f54fcf72e3e24ea7290814f87899ce08351e7ebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53edc41bd3721cd8b63aaca689ab999884fcad45fe98fc017af14d4fe82e7a91 [INFO] running `Command { std: "docker" "start" "-a" "53edc41bd3721cd8b63aaca689ab999884fcad45fe98fc017af14d4fe82e7a91", kill_on_drop: false }` [INFO] [stderr] Checking rust-base v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> src/utils/direntry_froms.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | Error::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `f` in this scope [INFO] [stdout] --> src/utils/direntry_froms.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | Error::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[error("Generic {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[error("Generic {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | IO(#[from] std::io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | IO(#[from] std::io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ToType` in this scope [INFO] [stdout] --> src/utils/direntry_froms.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | impl TryFrom> for ToType { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `dynResult` in this scope [INFO] [stdout] --> src/utils/direntry_froms.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn try_from(val: W<&DirEntry>) -> dynResult { [INFO] [stdout] | ^^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Result = core::result::Result; [INFO] [stdout] | -------------------------------------------------------- similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ToType` in this scope [INFO] [stdout] --> src/utils/direntry_froms.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | impl TryFrom> for ToType { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `dynResult` in this scope [INFO] [stdout] --> src/utils/direntry_froms.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn try_from(val: W<&DirEntry>) -> dynResult { [INFO] [stdout] | ^^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/prelude.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Result = core::result::Result; [INFO] [stdout] | -------------------------------------------------------- similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::result::Result` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/result.rs:502:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`, which is required by `std::result::Result<(), (dyn std::error::Error + 'static)>: Termination` [INFO] [stdout] = note: required for `std::result::Result<(), (dyn std::error::Error + 'static)>` to implement `Termination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::result::Result` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/result.rs:502:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/utils/direntry_froms.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Error::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 14 | ::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/utils/direntry_froms.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Error::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 14 | ::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Generic` found for trait `std::error::Error` [INFO] [stdout] --> src/utils/direntry_froms.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | Error::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ^^^^^^^ associated item not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let entry: String :: From<&String> = W(&entry).try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `From` implemented for `String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 14 | let entry: ::From = W(&entry).try_into()?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Generic` found for trait `std::error::Error` [INFO] [stdout] --> src/utils/direntry_froms.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | Error::Generic(f!("Invalid path {:?}", val.0)) [INFO] [stdout] | ^^^^^^^ associated item not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let entry: String :: From<&String> = W(&entry).try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `From` implemented for `String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 14 | let entry: ::From = W(&entry).try_into()?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error` [INFO] [stdout] --> src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ---------- expected `dyn std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 13 | for entry in read_dir("./")?.filter_map(|e| e.ok()) { [INFO] [stdout] | --------------^ the trait `From` is not implemented for `dyn std::error::Error`, which is required by `std::result::Result<(), dyn std::error::Error>: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] = note: required for `std::result::Result<(), dyn std::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error` [INFO] [stdout] --> src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ---------- expected `dyn std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 13 | for entry in read_dir("./")?.filter_map(|e| e.ok()) { [INFO] [stdout] | --------------^ the trait `From` is not implemented for `dyn std::error::Error`, which is required by `std::result::Result<(), dyn std::error::Error>: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] = note: required for `std::result::Result<(), dyn std::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error` [INFO] [stdout] --> src/main.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ---------- expected `dyn std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 14 | let entry: String :: From<&String> = W(&entry).try_into()?; [INFO] [stdout] | ----------^ the trait `From<_>` is not implemented for `dyn std::error::Error`, which is required by `std::result::Result<(), dyn std::error::Error>: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] = note: required for `std::result::Result<(), dyn std::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(()) [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/result.rs:506:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error` [INFO] [stdout] --> src/main.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<()>{ [INFO] [stdout] | ---------- expected `dyn std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 14 | let entry: String :: From<&String> = W(&entry).try_into()?; [INFO] [stdout] | ----------^ the trait `From<_>` is not implemented for `dyn std::error::Error`, which is required by `std::result::Result<(), dyn std::error::Error>: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] = note: required for `std::result::Result<(), dyn std::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(()) [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/core/src/result.rs:506:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0412, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0412, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-base` (bin "rust-base" test) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-base` (bin "rust-base") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "53edc41bd3721cd8b63aaca689ab999884fcad45fe98fc017af14d4fe82e7a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53edc41bd3721cd8b63aaca689ab999884fcad45fe98fc017af14d4fe82e7a91", kill_on_drop: false }` [INFO] [stdout] 53edc41bd3721cd8b63aaca689ab999884fcad45fe98fc017af14d4fe82e7a91