[INFO] fetching crate medea-macro 0.2.1... [INFO] checking medea-macro-0.2.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate medea-macro 0.2.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate medea-macro 0.2.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate medea-macro 0.2.1 [INFO] finished tweaking crates.io crate medea-macro 0.2.1 [INFO] tweaked toml for crates.io crate medea-macro 0.2.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecc7322991b54c43c09b787907b7ebe5f58817299e535a780cdbde0f6e260090 [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" "ecc7322991b54c43c09b787907b7ebe5f58817299e535a780cdbde0f6e260090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecc7322991b54c43c09b787907b7ebe5f58817299e535a780cdbde0f6e260090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc7322991b54c43c09b787907b7ebe5f58817299e535a780cdbde0f6e260090", kill_on_drop: false }` [INFO] [stdout] ecc7322991b54c43c09b787907b7ebe5f58817299e535a780cdbde0f6e260090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0cce8c7346ffa7f99f137bab7470339388a432deb7d63a8f15a4404f4e59ea65 [INFO] running `Command { std: "docker" "start" "-a" "0cce8c7346ffa7f99f137bab7470339388a432deb7d63a8f15a4404f4e59ea65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking synstructure v0.12.5 [INFO] [stderr] Checking medea-macro v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `medea_jason` [INFO] [stdout] --> tests/js_caused.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use medea_jason::utils::JsCaused; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `medea_jason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `JsCaused` in this scope [INFO] [stdout] --> tests/js_caused.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(JsCaused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `JsCaused` in this scope [INFO] [stdout] --> tests/js_caused.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(JsCaused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `JsCaused` in this scope [INFO] [stdout] --> tests/js_caused.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(JsCaused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `JsCaused` in this scope [INFO] [stdout] --> tests/js_caused.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(JsCaused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `js` in this scope [INFO] [stdout] --> tests/js_caused.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | Bar(#[js(cause)] CausedError), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `JsCaused` in this scope [INFO] [stdout] --> tests/js_caused.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(JsCaused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `js` in this scope [INFO] [stdout] --> tests/js_caused.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[js(error = "SomeError")] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `JsCaused` in this scope [INFO] [stdout] --> tests/js_caused.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(JsCaused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `js` in this scope [INFO] [stdout] --> tests/js_caused.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[js(error = "SomeError")] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `js` in this scope [INFO] [stdout] --> tests/js_caused.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | Bar(#[js(cause)] CausedError), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `derives_for_structure::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 8 | struct TestError; [INFO] [stdout] | ----------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(err.name(), "TestError"); [INFO] [stdout] | ^^^^ method not found in `derives_for_structure::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for struct `derives_for_structure::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 8 | struct TestError; [INFO] [stdout] | ----------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 12 | assert!(err.js_cause().is_none()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_structure::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `derives_for_enum_with_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 18 | enum TestError { [INFO] [stdout] | -------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(err.name(), "Foo"); [INFO] [stdout] | ^^^^ method not found in `derives_for_enum_with_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for enum `derives_for_enum_with_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 18 | enum TestError { [INFO] [stdout] | -------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | assert!(err.js_cause().is_none()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_enum_with_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `derives_for_enum_with_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 18 | enum TestError { [INFO] [stdout] | -------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(err.name(), "Bar"); [INFO] [stdout] | ^^^^ method not found in `derives_for_enum_with_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for enum `derives_for_enum_with_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 18 | enum TestError { [INFO] [stdout] | -------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(err.js_cause().is_some()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_enum_with_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `derives_for_enum_with_nested_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 40 | enum TestError { [INFO] [stdout] | -------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | assert_eq!(err.name(), "Foo"); [INFO] [stdout] | ^^^^ method not found in `derives_for_enum_with_nested_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for enum `derives_for_enum_with_nested_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 40 | enum TestError { [INFO] [stdout] | -------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 49 | assert!(err.js_cause().is_none()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_enum_with_nested_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `derives_for_enum_with_nested_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 40 | enum TestError { [INFO] [stdout] | -------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(err.name(), "Bar"); [INFO] [stdout] | ^^^^ method not found in `derives_for_enum_with_nested_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for enum `derives_for_enum_with_nested_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 40 | enum TestError { [INFO] [stdout] | -------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 53 | assert!(err.js_cause().is_some()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_enum_with_nested_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `derives_for_non_default_name_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 68 | enum TestError { [INFO] [stdout] | -------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(err.name(), "Foo"); [INFO] [stdout] | ^^^^ method not found in `derives_for_non_default_name_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for enum `derives_for_non_default_name_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 68 | enum TestError { [INFO] [stdout] | -------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 77 | assert!(err.js_cause().is_none()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_non_default_name_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `derives_for_non_default_name_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 68 | enum TestError { [INFO] [stdout] | -------------- method `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | assert_eq!(err.name(), "Bar"); [INFO] [stdout] | ^^^^ method not found in `derives_for_non_default_name_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `js_cause` found for enum `derives_for_non_default_name_js_error::TestError` in the current scope [INFO] [stdout] --> tests/js_caused.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 68 | enum TestError { [INFO] [stdout] | -------------- method `js_cause` not found for this [INFO] [stdout] ... [INFO] [stdout] 81 | assert!(err.js_cause().is_some()); [INFO] [stdout] | ^^^^^^^^ method not found in `derives_for_non_default_name_js_error::TestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `medea-macro` due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "0cce8c7346ffa7f99f137bab7470339388a432deb7d63a8f15a4404f4e59ea65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cce8c7346ffa7f99f137bab7470339388a432deb7d63a8f15a4404f4e59ea65", kill_on_drop: false }` [INFO] [stdout] 0cce8c7346ffa7f99f137bab7470339388a432deb7d63a8f15a4404f4e59ea65