[INFO] fetching crate ya-runtime-sdk 0.4.0... [INFO] checking ya-runtime-sdk-0.4.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate ya-runtime-sdk 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate ya-runtime-sdk 0.4.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ya-runtime-sdk 0.4.0 [INFO] finished tweaking crates.io crate ya-runtime-sdk 0.4.0 [INFO] tweaked toml for crates.io crate ya-runtime-sdk 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 157 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding directories v4.0.1 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.6) [INFO] [stderr] Adding flexi_logger v0.24.2 (latest: v0.28.0) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding multimap v0.8.3 (latest: v0.10.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding prost v0.10.4 (latest: v0.12.4) [INFO] [stderr] Adding prost-build v0.10.4 (latest: v0.12.4) [INFO] [stderr] Adding prost-derive v0.10.1 (latest: v0.12.4) [INFO] [stderr] Adding prost-types v0.10.1 (latest: v0.12.4) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.12) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding ya-runtime-api v0.6.0 (latest: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ya-runtime-sdk-derive v0.1.0 [INFO] [stderr] Downloaded ya-runtime-api v0.6.0 [INFO] [stderr] Downloaded prost-types v0.10.1 [INFO] [stderr] Downloaded flexi_logger v0.24.2 [INFO] [stderr] Downloaded prost-build v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a94a5e8d7de319599b0253adf3da36d9bf47d7055441af8933943da3bb74836 [INFO] running `Command { std: "docker" "start" "-a" "7a94a5e8d7de319599b0253adf3da36d9bf47d7055441af8933943da3bb74836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a94a5e8d7de319599b0253adf3da36d9bf47d7055441af8933943da3bb74836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a94a5e8d7de319599b0253adf3da36d9bf47d7055441af8933943da3bb74836", kill_on_drop: false }` [INFO] [stdout] 7a94a5e8d7de319599b0253adf3da36d9bf47d7055441af8933943da3bb74836 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea6878fe8612b02ffccf0ebf647e44110a19b436943049b714509a567f094ed [INFO] running `Command { std: "docker" "start" "-a" "0ea6878fe8612b02ffccf0ebf647e44110a19b436943049b714509a567f094ed", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling ya-runtime-api v0.6.0 [INFO] [stderr] Checking ya-runtime-sdk v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeDef` in `ya_runtime_sdk` [INFO] [stdout] --> tests/context.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(ya_runtime_sdk::RuntimeDef, Default)] [INFO] [stdout] | ^^^^^^^^^^ could not find `RuntimeDef` in `ya_runtime_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `conf` in this scope [INFO] [stdout] --> tests/context.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[conf(Conf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cli` in this scope [INFO] [stdout] --> tests/context.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[cli(Cli)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `cli` is imported here, but it is a module, not an attribute [INFO] [stdout] --> tests/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ya_runtime_sdk::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Runtime: ya_runtime_sdk::RuntimeDef` is not satisfied [INFO] [stdout] --> tests/context.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | impl ya_runtime_sdk::env::Env for Env { [INFO] [stdout] | ^^^^^^^^^^ the trait `ya_runtime_sdk::RuntimeDef` is not implemented for `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Runtime: ya_runtime_sdk::RuntimeDef` is not satisfied [INFO] [stdout] --> tests/context.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | impl_empty_runtime!(Runtime); [INFO] [stdout] | ^^^^^^^ the trait `ya_runtime_sdk::RuntimeDef` is not implemented for `Runtime` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ya_runtime_sdk::Runtime` [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Runtime: RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `try_with` exists for struct `Context`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/context.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 70 | struct Runtime; [INFO] [stdout] | -------------- doesn't satisfy `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] ... [INFO] [stdout] 78 | let context = Context::::try_with(env).expect("Failed to initialize runtime context"); [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `Context` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ya_runtime_sdk::Context` consider using one of the following associated functions: [INFO] [stdout] ya_runtime_sdk::Context::::try_new [INFO] [stdout] ya_runtime_sdk::Context::::try_with [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn try_new() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / pub fn try_with(mut env: E) -> anyhow::Result [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Env<::Cli> + 'static, [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] note: the trait `ya_runtime_sdk::RuntimeDef` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `write_config` exists for struct `Context`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/context.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 70 | struct Runtime; [INFO] [stdout] | -------------- doesn't satisfy `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] ... [INFO] [stdout] 98 | Context::::write_config(&conf, &p).expect("Error writing config to file"); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Context` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ya_runtime_sdk::Context` consider using one of the following associated functions: [INFO] [stdout] ya_runtime_sdk::Context::::try_new [INFO] [stdout] ya_runtime_sdk::Context::::try_with [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn try_new() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / pub fn try_with(mut env: E) -> anyhow::Result [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Env<::Cli> + 'static, [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] note: the trait `ya_runtime_sdk::RuntimeDef` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read_config` exists for struct `Context`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/context.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 70 | struct Runtime; [INFO] [stdout] | -------------- doesn't satisfy `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] ... [INFO] [stdout] 99 | let read = Context::::read_config(&p).expect("Error reading config from file"); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Context` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ya_runtime_sdk::Context` consider using one of the following associated functions: [INFO] [stdout] ya_runtime_sdk::Context::::try_new [INFO] [stdout] ya_runtime_sdk::Context::::try_with [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn try_new() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / pub fn try_with(mut env: E) -> anyhow::Result [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Env<::Cli> + 'static, [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] note: the trait `ya_runtime_sdk::RuntimeDef` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `write_config` exists for struct `Context`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/context.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 70 | struct Runtime; [INFO] [stdout] | -------------- doesn't satisfy `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] ... [INFO] [stdout] 120 | Context::::write_config(&conf, &write_path).expect("Error writing config to file"); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Context` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ya_runtime_sdk::Context` consider using one of the following associated functions: [INFO] [stdout] ya_runtime_sdk::Context::::try_new [INFO] [stdout] ya_runtime_sdk::Context::::try_with [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn try_new() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / pub fn try_with(mut env: E) -> anyhow::Result [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Env<::Cli> + 'static, [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] note: the trait `ya_runtime_sdk::RuntimeDef` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read_config` exists for struct `Context`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/context.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 70 | struct Runtime; [INFO] [stdout] | -------------- doesn't satisfy `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] ... [INFO] [stdout] 122 | let read = Context::::read_config(&write_path); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Context` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ya_runtime_sdk::Context` consider using one of the following associated functions: [INFO] [stdout] ya_runtime_sdk::Context::::try_new [INFO] [stdout] ya_runtime_sdk::Context::::try_with [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn try_new() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / pub fn try_with(mut env: E) -> anyhow::Result [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Env<::Cli> + 'static, [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] note: the trait `ya_runtime_sdk::RuntimeDef` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read_config` exists for struct `Context`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/context.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 70 | struct Runtime; [INFO] [stdout] | -------------- doesn't satisfy `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] ... [INFO] [stdout] 128 | let read = Context::::read_config(&renamed_path); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Context` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ya_runtime_sdk::Context` consider using one of the following associated functions: [INFO] [stdout] ya_runtime_sdk::Context::::try_new [INFO] [stdout] ya_runtime_sdk::Context::::try_with [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn try_new() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / pub fn try_with(mut env: E) -> anyhow::Result [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Env<::Cli> + 'static, [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Runtime: ya_runtime_sdk::RuntimeDef` [INFO] [stdout] note: the trait `ya_runtime_sdk::RuntimeDef` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/runtime.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RuntimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ya-runtime-sdk` (test "context") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "0ea6878fe8612b02ffccf0ebf647e44110a19b436943049b714509a567f094ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea6878fe8612b02ffccf0ebf647e44110a19b436943049b714509a567f094ed", kill_on_drop: false }` [INFO] [stdout] 0ea6878fe8612b02ffccf0ebf647e44110a19b436943049b714509a567f094ed