[INFO] fetching crate ya-runtime-sdk 0.4.0... [INFO] checking ya-runtime-sdk-0.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ya-runtime-sdk 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ya-runtime-sdk 0.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 149 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding directories v4.0.1 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding flexi_logger v0.24.2 (available: v0.29.0) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding multimap v0.8.3 (available: v0.10.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding prost v0.10.4 (available: v0.13.3) [INFO] [stderr] Adding prost-build v0.10.4 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.10.1 (available: v0.13.3) [INFO] [stderr] Adding prost-types v0.10.1 (available: v0.13.3) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding ya-runtime-api v0.6.0 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 flexi_logger v0.24.2 [INFO] [stderr] Downloaded ya-runtime-api v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39a0af3a44be36c166c9a2562a7a5f9ed2eb629affecef80ce2ab50961ef3470 [INFO] running `Command { std: "docker" "start" "-a" "39a0af3a44be36c166c9a2562a7a5f9ed2eb629affecef80ce2ab50961ef3470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39a0af3a44be36c166c9a2562a7a5f9ed2eb629affecef80ce2ab50961ef3470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a0af3a44be36c166c9a2562a7a5f9ed2eb629affecef80ce2ab50961ef3470", kill_on_drop: false }` [INFO] [stdout] 39a0af3a44be36c166c9a2562a7a5f9ed2eb629affecef80ce2ab50961ef3470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a891ab8a475160500040e921b5dcae85374be55ead2df0e67bf661949028beb7 [INFO] running `Command { std: "docker" "start" "-a" "a891ab8a475160500040e921b5dcae85374be55ead2df0e67bf661949028beb7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [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] Compiling heck v0.3.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking futures-util 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] Checking serde v1.0.210 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling ya-runtime-api v0.6.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml v0.5.11 [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: 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: 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: 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: 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: 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: 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" "a891ab8a475160500040e921b5dcae85374be55ead2df0e67bf661949028beb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a891ab8a475160500040e921b5dcae85374be55ead2df0e67bf661949028beb7", kill_on_drop: false }` [INFO] [stdout] a891ab8a475160500040e921b5dcae85374be55ead2df0e67bf661949028beb7