[INFO] fetching crate safe_bindgen 0.13.3... [INFO] testing safe_bindgen-0.13.3 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate safe_bindgen 0.13.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate safe_bindgen 0.13.3 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate safe_bindgen 0.13.3 [INFO] finished tweaking crates.io crate safe_bindgen 0.13.3 [INFO] tweaked toml for crates.io crate safe_bindgen 0.13.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate safe_bindgen 0.13.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", 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] 005005c6d1fa548bf8c4960d6f06f884c7324cf37a1c192d0354c2f079f8b3d2 [INFO] running `Command { std: "docker" "start" "-a" "005005c6d1fa548bf8c4960d6f06f884c7324cf37a1c192d0354c2f079f8b3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005005c6d1fa548bf8c4960d6f06f884c7324cf37a1c192d0354c2f079f8b3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005005c6d1fa548bf8c4960d6f06f884c7324cf37a1c192d0354c2f079f8b3d2", kill_on_drop: false }` [INFO] [stdout] 005005c6d1fa548bf8c4960d6f06f884c7324cf37a1c192d0354c2f079f8b3d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6741e8dc99fa8727092df9f392a83c814fb3d9b6b786a26e01f1d5cb618c618a [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" "6741e8dc99fa8727092df9f392a83c814fb3d9b6b786a26e01f1d5cb618c618a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling rustfmt v0.10.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling jni v0.12.3 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Compiling strings v0.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling syntex_pos v0.59.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling syntex_errors v0.59.1 [INFO] [stderr] Compiling syntex_syntax v0.59.1 [INFO] [stderr] Compiling safe_bindgen v0.13.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/csharp/mod.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | mem::replace(new_ty, orig_new_ty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 59s [INFO] running `Command { std: "docker" "inspect" "6741e8dc99fa8727092df9f392a83c814fb3d9b6b786a26e01f1d5cb618c618a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6741e8dc99fa8727092df9f392a83c814fb3d9b6b786a26e01f1d5cb618c618a", kill_on_drop: false }` [INFO] [stdout] 6741e8dc99fa8727092df9f392a83c814fb3d9b6b786a26e01f1d5cb618c618a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73bb387ca053e16d914729cdc22f43ac4eebbbeed6450dd48c7f67643a259db2 [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" "73bb387ca053e16d914729cdc22f43ac4eebbbeed6450dd48c7f67643a259db2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/csharp/mod.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | mem::replace(new_ty, orig_new_ty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling safe_bindgen v0.13.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/csharp/mod.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | mem::replace(new_ty, orig_new_ty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 23.62s [INFO] running `Command { std: "docker" "inspect" "73bb387ca053e16d914729cdc22f43ac4eebbbeed6450dd48c7f67643a259db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73bb387ca053e16d914729cdc22f43ac4eebbbeed6450dd48c7f67643a259db2", kill_on_drop: false }` [INFO] [stdout] 73bb387ca053e16d914729cdc22f43ac4eebbbeed6450dd48c7f67643a259db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] b5ead51ff003992907df2bfa2eaa5840ed0839397e0dabe5dc97568f09d0c0ea [INFO] running `Command { std: "docker" "start" "-a" "b5ead51ff003992907df2bfa2eaa5840ed0839397e0dabe5dc97568f09d0c0ea", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/csharp/mod.rs:724:5 [INFO] [stderr] | [INFO] [stderr] 724 | mem::replace(new_ty, orig_new_ty); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/csharp/mod.rs:724:5 [INFO] [stderr] | [INFO] [stderr] 724 | mem::replace(new_ty, orig_new_ty); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/safe_bindgen-034e81d13fa09e7d [INFO] [stdout] running 41 tests [INFO] [stdout] test csharp::tests::functions_taking_no_callbacks ... ok [INFO] [stdout] test csharp::tests::functions_with_return_values ... ok [INFO] [stdout] test csharp::tests::arrays ... ok [INFO] [stdout] test csharp::tests::functions_taking_callback_taking_const_size_array ... ok [INFO] [stdout] test csharp::tests::functions_taking_one_callback ... ok [INFO] [stdout] test csharp::tests::interface ... ok [INFO] [stdout] test csharp::tests::functions_taking_callback_taking_dynamic_array ... ok [INFO] [stdout] test csharp::tests::type_aliases ... ok [INFO] [stdout] test csharp::tests::structs ... ok [INFO] [stdout] test csharp::tests::functions_taking_multiple_callbacks ... ok [INFO] [stdout] test csharp::tests::functions_taking_out_param ... ok [INFO] [stdout] test csharp::tests::opaque_types ... ok [INFO] [stdout] test java::types::tests::libc_types ... ok [INFO] [stdout] test java::types::tests::test_rust_to_java ... ok [INFO] [stdout] test lang_c::tests::const_pointers ... ok [INFO] [stdout] test csharp::tests::native_structs ... ok [INFO] [stdout] test java::jni::tests::callback_generation_app_ctx ... ok [INFO] [stdout] test csharp::tests::constants ... ok [INFO] [stdout] test lang_c::tests::enums ... ok [INFO] [stdout] test lang_c::tests::libc_types ... ok [INFO] [stdout] test java::types::tests::java_types_to_string ... ok [INFO] [stdout] test csharp::tests::functions_taking_array ... ok [INFO] [stdout] test lang_c::tests::sanitise_id ... ok [INFO] [stdout] test lang_c::tests::mut_pointers ... ok [INFO] [stdout] test lang_c::tests::mixed_pointers ... ok [INFO] [stdout] test lang_c::tests::pure_rust_types ... ok [INFO] [stdout] test java::tests::cb_names ... ok [INFO] [stdout] test lang_c::tests::sync_functions ... ok [INFO] [stdout] test struct_field::tests::transform_fields_array ... ok [INFO] [stdout] test java::jni::tests::check_gen_jni_function_primitive_and_opaque_types ... ok [INFO] [stdout] test output::tests::does_not_indent_empty_lines ... ok [INFO] [stdout] test output::tests::smoke ... ok [INFO] [stdout] test struct_field::tests::transform_fields_primitive ... ok [INFO] [stdout] test java::jni::tests::jni_arg_transformation ... ok [INFO] [stdout] test csharp::tests::functions_without_extern_and_no_mangle_are_ignored ... ok [INFO] [stdout] test csharp::tests::enums ... ok [INFO] [stdout] test lang_c::tests::paths ... ok [INFO] [stdout] test lang_c::tests::function_pointers ... ok [INFO] [stdout] test csharp::tests::non_repr_c_types_are_ignored ... ok [INFO] [stdout] test lang_c::tests::async_functions ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bindgen-885c0fde0d2802d4 [INFO] [stdout] test java::jni::tests::check_gen_jni_function_namespace_and_cfg ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/lib-c74e663f18a68361 [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests safe_bindgen [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lang_c/mod.rs - lang_c::fn_ptr_to_c (line 492) ... ignored [INFO] [stdout] test src/lib.rs - Bindgen (line 70) ... ignored [INFO] [stdout] test src/lib.rs - Bindgen (line 77) ... ignored [INFO] [stdout] test src/lib.rs - Bindgen (line 85) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5ead51ff003992907df2bfa2eaa5840ed0839397e0dabe5dc97568f09d0c0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ead51ff003992907df2bfa2eaa5840ed0839397e0dabe5dc97568f09d0c0ea", kill_on_drop: false }` [INFO] [stdout] b5ead51ff003992907df2bfa2eaa5840ed0839397e0dabe5dc97568f09d0c0ea