[INFO] fetching crate ya-runtime-sdk 0.1.0... [INFO] checking ya-runtime-sdk-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate ya-runtime-sdk 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ya-runtime-sdk 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ya-runtime-sdk 0.1.0 [INFO] finished tweaking crates.io crate ya-runtime-sdk 0.1.0 [INFO] tweaked toml for crates.io crate ya-runtime-sdk 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eff72ba44693c3edd0cdb1d4e42b1c7f20445731020f512d34c745b88e3b3b9b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eff72ba44693c3edd0cdb1d4e42b1c7f20445731020f512d34c745b88e3b3b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eff72ba44693c3edd0cdb1d4e42b1c7f20445731020f512d34c745b88e3b3b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff72ba44693c3edd0cdb1d4e42b1c7f20445731020f512d34c745b88e3b3b9b", kill_on_drop: false }` [INFO] [stdout] eff72ba44693c3edd0cdb1d4e42b1c7f20445731020f512d34c745b88e3b3b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31d7c0e61b20e4b595ae0484e8a296b7c412a9e09f4d6c6dcefb255ba8c01c71 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "31d7c0e61b20e4b595ae0484e8a296b7c412a9e09f4d6c6dcefb255ba8c01c71", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [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] Compiling quote v1.0.9 [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 clap v2.33.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [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] Checking structopt v0.3.22 [INFO] [stderr] Compiling prost v0.6.1 [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] Checking serde v1.0.126 [INFO] [stderr] Compiling ya-runtime-api v0.3.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ya-runtime-sdk v0.1.0 (/opt/rustwide/workdir) [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] ::: /opt/rustwide/workdir/src/runtime.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Runtime: RuntimeDef + Default { [INFO] [stdout] | ---------- required by this bound in `ya_runtime_sdk::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: 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] running `Command { std: "docker" "inspect" "31d7c0e61b20e4b595ae0484e8a296b7c412a9e09f4d6c6dcefb255ba8c01c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d7c0e61b20e4b595ae0484e8a296b7c412a9e09f4d6c6dcefb255ba8c01c71", kill_on_drop: false }` [INFO] [stdout] 31d7c0e61b20e4b595ae0484e8a296b7c412a9e09f4d6c6dcefb255ba8c01c71