[INFO] fetching crate ya-runtime-sdk 0.1.2... [INFO] checking ya-runtime-sdk-0.1.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ya-runtime-sdk 0.1.2 into /workspace/builds/worker-97/source [INFO] validating manifest of crates.io crate ya-runtime-sdk 0.1.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ya-runtime-sdk 0.1.2 [INFO] finished tweaking crates.io crate ya-runtime-sdk 0.1.2 [INFO] tweaked toml for crates.io crate ya-runtime-sdk 0.1.2 written to /workspace/builds/worker-97/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ya-runtime-sdk-derive v0.1.0 [INFO] [stderr] Downloaded ya-runtime-api v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332f9377364eb7e82f81562bd736d724e00a2520525e27737cfdedcadc272727 [INFO] running `Command { std: "docker" "start" "-a" "332f9377364eb7e82f81562bd736d724e00a2520525e27737cfdedcadc272727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332f9377364eb7e82f81562bd736d724e00a2520525e27737cfdedcadc272727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332f9377364eb7e82f81562bd736d724e00a2520525e27737cfdedcadc272727", kill_on_drop: false }` [INFO] [stdout] 332f9377364eb7e82f81562bd736d724e00a2520525e27737cfdedcadc272727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba6c1cb72154f23838a8e2a1b2255f2ed8c3054c0da821ce0108e460e6697016 [INFO] running `Command { std: "docker" "start" "-a" "ba6c1cb72154f23838a8e2a1b2255f2ed8c3054c0da821ce0108e460e6697016", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.25: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Compiling ya-runtime-api v0.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_yaml v0.8.19 [INFO] [stderr] Checking ya-runtime-sdk v0.1.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/context.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeDef` in `ya_runtime_sdk` [INFO] [stdout] --> tests/context.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | #[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:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[conf(Conf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cli` in this scope [INFO] [stdout] --> tests/context.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[cli(Cli)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Runtime: RuntimeDef` is not satisfied [INFO] [stdout] --> tests/utils/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | impl ya_runtime_sdk::Runtime for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `RuntimeDef` is not implemented for `Runtime` [INFO] [stdout] | [INFO] [stdout] ::: tests/context.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_empty_runtime!(Runtime); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ya_runtime_sdk::Runtime` [INFO] [stdout] --> /tmp/fixit/src/runtime.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Runtime: RuntimeDef + Default { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ya_runtime_sdk::Runtime` [INFO] [stdout] = note: this error originates in the macro `impl_empty_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [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` due to 5 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ba6c1cb72154f23838a8e2a1b2255f2ed8c3054c0da821ce0108e460e6697016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6c1cb72154f23838a8e2a1b2255f2ed8c3054c0da821ce0108e460e6697016", kill_on_drop: false }` [INFO] [stdout] ba6c1cb72154f23838a8e2a1b2255f2ed8c3054c0da821ce0108e460e6697016