[INFO] fetching crate jni-bindgen 0.0.10... [INFO] testing jni-bindgen-0.0.10 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate jni-bindgen 0.0.10 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate jni-bindgen 0.0.10 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jni-bindgen 0.0.10 [INFO] finished tweaking crates.io crate jni-bindgen 0.0.10 [INFO] tweaked toml for crates.io crate jni-bindgen 0.0.10 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate crates.io crate jni-bindgen 0.0.10 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b20c09a0a82dd6ac58b68b91cedcc23edf767e16812f736bd06a584cdaebad21 [INFO] running `Command { std: "docker" "start" "-a" "b20c09a0a82dd6ac58b68b91cedcc23edf767e16812f736bd06a584cdaebad21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b20c09a0a82dd6ac58b68b91cedcc23edf767e16812f736bd06a584cdaebad21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20c09a0a82dd6ac58b68b91cedcc23edf767e16812f736bd06a584cdaebad21", kill_on_drop: false }` [INFO] [stdout] b20c09a0a82dd6ac58b68b91cedcc23edf767e16812f736bd06a584cdaebad21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 884e36d8a4769a33d10c20abeaf90c90ceebbaacc969e327b5e6e1589bb3bfce [INFO] running `Command { std: "docker" "start" "-a" "884e36d8a4769a33d10c20abeaf90c90ceebbaacc969e327b5e6e1589bb3bfce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling bugsalot v0.2.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling jni-glue v0.0.10 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling jni-bindgen-reflection v0.0.10 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling zip v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling jni-bindgen v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/config/toml.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | #[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/config/toml.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | #[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/identifiers/method_mangling_style.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Eq, Hash)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `feature_name` [INFO] [stdout] --> src/emit_rust/structs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub feature_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/emit_rust/structs.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.06s [INFO] running `Command { std: "docker" "inspect" "884e36d8a4769a33d10c20abeaf90c90ceebbaacc969e327b5e6e1589bb3bfce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884e36d8a4769a33d10c20abeaf90c90ceebbaacc969e327b5e6e1589bb3bfce", kill_on_drop: false }` [INFO] [stdout] 884e36d8a4769a33d10c20abeaf90c90ceebbaacc969e327b5e6e1589bb3bfce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bd82a5cab226133ed74cd7c89227cd986570897918d23b5dbb2b7e9236b81d1 [INFO] running `Command { std: "docker" "start" "-a" "1bd82a5cab226133ed74cd7c89227cd986570897918d23b5dbb2b7e9236b81d1", kill_on_drop: false }` [INFO] [stderr] Compiling jni-bindgen v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/config/toml.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | #[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/config/toml.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | #[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/identifiers/method_mangling_style.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[serde(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Eq, Hash)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `feature_name` [INFO] [stdout] --> src/emit_rust/structs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub feature_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/emit_rust/structs.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.15s [INFO] running `Command { std: "docker" "inspect" "1bd82a5cab226133ed74cd7c89227cd986570897918d23b5dbb2b7e9236b81d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd82a5cab226133ed74cd7c89227cd986570897918d23b5dbb2b7e9236b81d1", kill_on_drop: false }` [INFO] [stdout] 1bd82a5cab226133ed74cd7c89227cd986570897918d23b5dbb2b7e9236b81d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c43e0b877fbebc3c31116c31f1fc2f7dcb741ef4edf444a5760ec4795822fa6a [INFO] running `Command { std: "docker" "start" "-a" "c43e0b877fbebc3c31116c31f1fc2f7dcb741ef4edf444a5760ec4795822fa6a", kill_on_drop: false }` [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/config/toml.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[serde(rename_all = "snake_case")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 20 | #[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/config/toml.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | #[serde(rename_all = "snake_case")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 34 | #[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/identifiers/method_mangling_style.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | #[serde(rename_all = "snake_case")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Eq, Hash)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `feature_name` [INFO] [stderr] --> src/emit_rust/structs.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub feature_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `StructPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/emit_rust/structs.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `jni-bindgen` (bin "jni-bindgen" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jni_bindgen-33744577f2dd5d6d) [INFO] [stdout] running 6 tests [INFO] [stdout] test android::api_level_range::parse ... ok [INFO] [stdout] test config::toml::load_minimal_toml ... ok [INFO] [stdout] test identifiers::rust_identifier::rust_identifier_from_str ... ok [INFO] [stdout] test identifiers::method_mangling_style::mangle_method_name_test ... ok [INFO] [stdout] test identifiers::method_mangling_style::method_mangling_style_mangle_test ... ok [INFO] [stdout] test config::toml::load_well_configured_toml ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c43e0b877fbebc3c31116c31f1fc2f7dcb741ef4edf444a5760ec4795822fa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c43e0b877fbebc3c31116c31f1fc2f7dcb741ef4edf444a5760ec4795822fa6a", kill_on_drop: false }` [INFO] [stdout] c43e0b877fbebc3c31116c31f1fc2f7dcb741ef4edf444a5760ec4795822fa6a