[INFO] fetching crate graal-bindgen-macros 0.1.0... [INFO] testing graal-bindgen-macros-0.1.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate graal-bindgen-macros 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate graal-bindgen-macros 0.1.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graal-bindgen-macros 0.1.0 [INFO] finished tweaking crates.io crate graal-bindgen-macros 0.1.0 [INFO] tweaked toml for crates.io crate graal-bindgen-macros 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc62d524acba2c00626c67f869437374652b2ae8c730eead09ac5a027408a5ad [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" "bc62d524acba2c00626c67f869437374652b2ae8c730eead09ac5a027408a5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc62d524acba2c00626c67f869437374652b2ae8c730eead09ac5a027408a5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc62d524acba2c00626c67f869437374652b2ae8c730eead09ac5a027408a5ad", kill_on_drop: false }` [INFO] [stdout] bc62d524acba2c00626c67f869437374652b2ae8c730eead09ac5a027408a5ad [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be60abda15e9182cf772dedd146d21c2719b97927287a8786c64bf9280877c04 [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" "be60abda15e9182cf772dedd146d21c2719b97927287a8786c64bf9280877c04", kill_on_drop: false }` [INFO] [stderr] Compiling graal-bindgen-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "be60abda15e9182cf772dedd146d21c2719b97927287a8786c64bf9280877c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be60abda15e9182cf772dedd146d21c2719b97927287a8786c64bf9280877c04", kill_on_drop: false }` [INFO] [stdout] be60abda15e9182cf772dedd146d21c2719b97927287a8786c64bf9280877c04 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--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] 22b7cfef745971696d7a60cca967c0d264a8fe2a52c63b74ce18d844d2f0b2e9 [INFO] running `Command { std: "docker" "start" "-a" "22b7cfef745971696d7a60cca967c0d264a8fe2a52c63b74ce18d844d2f0b2e9", kill_on_drop: false }` [INFO] [stderr] Compiling graal-bindgen-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "22b7cfef745971696d7a60cca967c0d264a8fe2a52c63b74ce18d844d2f0b2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b7cfef745971696d7a60cca967c0d264a8fe2a52c63b74ce18d844d2f0b2e9", kill_on_drop: false }` [INFO] [stdout] 22b7cfef745971696d7a60cca967c0d264a8fe2a52c63b74ce18d844d2f0b2e9 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", 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] 60c41a84e95dfff59b5e904a560cff175c7369e45ee069f5f5cbb64e25bd3af8 [INFO] running `Command { std: "docker" "start" "-a" "60c41a84e95dfff59b5e904a560cff175c7369e45ee069f5f5cbb64e25bd3af8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/graal_bindgen_macros-8624b4fa9e278b3e) [INFO] [stdout] [INFO] [stderr] Doc-tests graal-bindgen-macros [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - quote_function_stub (line 345) ... FAILED [INFO] [stdout] test src/lib.rs - quote_function_stub (line 356) ... FAILED [INFO] [stdout] test src/lib.rs - java_method (line 420) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - quote_function_stub (line 345) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `JavaFunctionStub` in this scope [INFO] [stdout] --> src/lib.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 3 | JavaFunctionStub { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - quote_function_stub (line 356) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `E` [INFO] [stdout] --> src/lib.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 4 | return E::from_polyglot_value({ [INFO] [stdout] | ^ use of undeclared type `E` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polyglot` in the crate root [INFO] [stdout] --> src/lib.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 6 | crate::polyglot::internal::polyglot_invoke( [INFO] [stdout] | ^^^^^^^^ could not find `polyglot` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polyglot` in the crate root [INFO] [stdout] --> src/lib.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 8 | crate::polyglot::internal::make_cstring("remove").as_ptr(), [INFO] [stdout] | ^^^^^^^^ could not find `polyglot` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polyglot` in the crate root [INFO] [stdout] --> src/lib.rs:363:23 [INFO] [stdout] | [INFO] [stdout] 9 | crate::polyglot::internal::expect_variadic(index), [INFO] [stdout] | ^^^^^^^^ could not find `polyglot` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> Eq { [INFO] [stdout] | ^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - java_method (line 420) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:421:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `E` [INFO] [stdout] --> src/lib.rs:422:11 [INFO] [stdout] | [INFO] [stdout] 4 | return E::from_polyglot_value({ [INFO] [stdout] | ^ use of undeclared type `E` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polyglot` in the crate root [INFO] [stdout] --> src/lib.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 6 | crate::polyglot::internal::polyglot_invoke( [INFO] [stdout] | ^^^^^^^^ could not find `polyglot` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polyglot` in the crate root [INFO] [stdout] --> src/lib.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 8 | crate::polyglot::internal::make_cstring("remove").as_ptr(), [INFO] [stdout] | ^^^^^^^^ could not find `polyglot` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polyglot` in the crate root [INFO] [stdout] --> src/lib.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 9 | crate::polyglot::internal::expect_variadic(index), [INFO] [stdout] | ^^^^^^^^ could not find `polyglot` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:421:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> Eq { [INFO] [stdout] | ^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub fn remove_at(&self, index: int) -> E { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - java_method (line 420) [INFO] [stdout] src/lib.rs - quote_function_stub (line 345) [INFO] [stdout] src/lib.rs - quote_function_stub (line 356) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "60c41a84e95dfff59b5e904a560cff175c7369e45ee069f5f5cbb64e25bd3af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c41a84e95dfff59b5e904a560cff175c7369e45ee069f5f5cbb64e25bd3af8", kill_on_drop: false }` [INFO] [stdout] 60c41a84e95dfff59b5e904a560cff175c7369e45ee069f5f5cbb64e25bd3af8