[INFO] fetching crate ya-runtime-sdk 0.4.0... [INFO] checking ya-runtime-sdk-0.4.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [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 ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 172 packages to latest compatible versions [INFO] [stderr] Adding directories v4.0.1 (available: v5.0.1) [INFO] [stderr] Adding flexi_logger v0.24.2 (available: v0.29.6) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ya-runtime-api v0.6.0 [INFO] [stderr] Downloaded ya-runtime-sdk-derive v0.1.0 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6da40da280b8dfa82dd7d970be4de8bd91dfc63c44cbf2d3911a62eb7511cc63 [INFO] running `Command { std: "docker" "start" "-a" "6da40da280b8dfa82dd7d970be4de8bd91dfc63c44cbf2d3911a62eb7511cc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6da40da280b8dfa82dd7d970be4de8bd91dfc63c44cbf2d3911a62eb7511cc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da40da280b8dfa82dd7d970be4de8bd91dfc63c44cbf2d3911a62eb7511cc63", kill_on_drop: false }` [INFO] [stdout] 6da40da280b8dfa82dd7d970be4de8bd91dfc63c44cbf2d3911a62eb7511cc63 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d3faa59bf98370b1ea6dbd190a4719be606de16996221d723e660bb1dc4f810 [INFO] running `Command { std: "docker" "start" "-a" "8d3faa59bf98370b1ea6dbd190a4719be606de16996221d723e660bb1dc4f810", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling ya-runtime-api v0.6.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [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] 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 11 previous errors [INFO] running `Command { std: "docker" "inspect" "8d3faa59bf98370b1ea6dbd190a4719be606de16996221d723e660bb1dc4f810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3faa59bf98370b1ea6dbd190a4719be606de16996221d723e660bb1dc4f810", kill_on_drop: false }` [INFO] [stdout] 8d3faa59bf98370b1ea6dbd190a4719be606de16996221d723e660bb1dc4f810