[INFO] fetching crate tcl 0.1.9... [INFO] testing tcl-0.1.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tcl 0.1.9 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tcl 0.1.9 [INFO] finished tweaking crates.io crate tcl 0.1.9 [INFO] tweaked toml for crates.io crate tcl 0.1.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tcl 0.1.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding mutf8 v0.2.0 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f5dbc79cf2620be1a9d3d13cd51da33c41a3cef2e97ca3927f44cbf211cb6b2 [INFO] running `Command { std: "docker" "start" "-a" "6f5dbc79cf2620be1a9d3d13cd51da33c41a3cef2e97ca3927f44cbf211cb6b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f5dbc79cf2620be1a9d3d13cd51da33c41a3cef2e97ca3927f44cbf211cb6b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5dbc79cf2620be1a9d3d13cd51da33c41a3cef2e97ca3927f44cbf211cb6b2", kill_on_drop: false }` [INFO] [stdout] 6f5dbc79cf2620be1a9d3d13cd51da33c41a3cef2e97ca3927f44cbf211cb6b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c4db13f8fe616531e755bc5ab267c322f9f568c8e88db1f519a51fb3913484 [INFO] running `Command { std: "docker" "start" "-a" "70c4db13f8fe616531e755bc5ab267c322f9f568c8e88db1f519a51fb3913484", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling mutf8 v0.2.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling inwelling v0.5.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tcl v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bind_syn v0.1.0 [INFO] [stderr] Compiling enumx_derive v0.4.2 [INFO] [stderr] Compiling cex_derive v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tcl_derive v0.1.5 [INFO] [stderr] Compiling enumx v0.4.3 [INFO] [stderr] Compiling cex v0.5.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clib v0.2.4 [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_IsSafe` in crate `clib` [INFO] [stdout] --> src/interp.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 629 | clib::Tcl_IsSafe( self.as_ptr() ) != 0 [INFO] [stdout] | ^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_MakeSafe` in crate `clib` [INFO] [stdout] --> src/interp.rs:653:19 [INFO] [stdout] | [INFO] [stdout] 653 | clib::Tcl_MakeSafe( self.as_ptr() ).code_to_result( self ) [INFO] [stdout] | ^^^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_CreateSlave` in crate `clib` [INFO] [stdout] --> src/interp.rs:678:54 [INFO] [stdout] | [INFO] [stdout] 678 | Ok( Interpreter( Interp::from_raw( clib::Tcl_CreateSlave( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_GetSlave` in crate `clib` [INFO] [stdout] --> src/interp.rs:707:33 [INFO] [stdout] | [INFO] [stdout] 707 | Interp::from_raw( clib::Tcl_GetSlave( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_GetMaster` in crate `clib` [INFO] [stdout] --> src/interp.rs:731:33 [INFO] [stdout] | [INFO] [stdout] 731 | Interp::from_raw( clib::Tcl_GetMaster( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_ExposeCommand` in crate `clib` [INFO] [stdout] --> src/interp.rs:757:19 [INFO] [stdout] | [INFO] [stdout] 757 | clib::Tcl_ExposeCommand( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tcl_HideCommand` in crate `clib` [INFO] [stdout] --> src/interp.rs:788:19 [INFO] [stdout] | [INFO] [stdout] 788 | clib::Tcl_HideCommand( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `clib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | let tcl_interp = match NonNull::new( unsafe{ clib::Tcl_CreateInterp() }) { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe{ clib::Tcl_Init( (this.0).0.as_ptr() )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | unsafe{ clib::Tcl_DeleteInterp( (self.0).0.as_ptr() )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | let ptr = unsafe{ clib::Tcl_ObjGetVar2( self.0.as_ptr(), var.as_ptr(), ptr::null_mut(), flags )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | let ptr = unsafe{ clib::Tcl_ObjGetVar2( self.0.as_ptr(), arr.as_ptr(), elem.as_ptr(), flags )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | return unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/interp.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let tcl_obj = unsafe{ clib::Tcl_NewObj() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe{ clib::Tcl_InvalidateStringRep( self.0.as_ptr() ); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | int_from_obj!( Tcl_GetIntFromObj c_int => i8 as_i8 NotI8 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | int_from_obj!( Tcl_GetIntFromObj c_int => i8 as_i8 NotI8 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 313 | int_from_obj!( Tcl_GetLongFromObj c_long => i16 as_i16 NotI16 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 313 | int_from_obj!( Tcl_GetLongFromObj c_long => i16 as_i16 NotI16 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 314 | int_from_obj!( Tcl_GetWideIntFromObj c_longlong => i32 as_i32 NotI32 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 314 | int_from_obj!( Tcl_GetWideIntFromObj c_longlong => i32 as_i32 NotI32 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | int_from_obj!( Tcl_GetWideIntFromObj c_longlong => i64 as_i64 NotI64 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | int_from_obj!( Tcl_GetWideIntFromObj c_longlong => i64 as_i64 NotI64 ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 316 | int_from_obj!( Tcl_GetWideIntFromObj c_longlong => isize as_isize NotISize ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 316 | int_from_obj!( Tcl_GetWideIntFromObj c_longlong => isize as_isize NotISize ); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `int_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 348 | uint_from_obj!( Tcl_GetIntFromObj c_int => u8 as_u8 NotU8 ); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 348 | uint_from_obj!( Tcl_GetIntFromObj c_int => u8 as_u8 NotU8 ); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 349 | uint_from_obj!( Tcl_GetLongFromObj c_long => u16 as_u16 NotU16 ); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 349 | uint_from_obj!( Tcl_GetLongFromObj c_long => u16 as_u16 NotU16 ); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | if unsafe{ clib::$tcl_api( null_mut(), obj.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 350 | uint_from_obj!( Tcl_GetWideIntFromObj c_longlong => u32 as_u32 NotU32 ); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | if unsafe{ clib::$tcl_api( null_mut(), self.as_ptr(), &mut value )}.is_ok() { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 350 | uint_from_obj!( Tcl_GetWideIntFromObj c_longlong => u32 as_u32 NotU32 ); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 425 | float_from_obj!( f32, NotF32, as_f32 ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 425 | float_from_obj!( f32, NotF32, as_f32 ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 426 | float_from_obj!( f64, NotF64, as_f64 ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 426 | float_from_obj!( f64, NotF64, as_f64 ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_from_obj` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:526:20 [INFO] [stdout] | [INFO] [stdout] 526 | let list = unsafe{ clib::Tcl_NewListObj( v.len() as c_int, v.as_ptr() as *const *mut clib::Tcl_Obj )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/obj.rs:538:20 [INFO] [stdout] | [INFO] [stdout] 538 | let list = unsafe{ clib::Tcl_NewListObj( v.len() as c_int, v.as_ptr() as *const *mut clib::Tcl_Obj )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | let mut type_ptr = unsafe{ clib::Tcl_GetObjType( type_id.as_ptr() )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | type_ptr = unsafe{ clib::Tcl_GetObjType( type_id.as_ptr() )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ser.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let s = unsafe{ clib::Tcl_Alloc( len + 1 )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe{ Tcl_DStringStartSublist( self.as_mut_ptr() ); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ser.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | unsafe{ Tcl_DStringEndSublist( self.as_mut_ptr() ); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ser.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ser.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe{ Tcl_DStringAppendElement( self.as_mut_ptr(), cstring.as_ptr() ); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ser.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe{ Tcl_DStringAppendElement( self.as_mut_ptr(), rhs.0.string ); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/dict.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let tcl_obj = unsafe{ clib::Tcl_NewDictObj() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/dict.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/dict.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/dict.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/dict.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/dict.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | Some( mut search ) => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let list = unsafe{ clib::Tcl_NewListObj( objc, objv )}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe{ clib::Tcl_SetListObj( self.as_ptr(), objc, objv ); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe{ clib::Tcl_ListObjAppendList( null_mut(), self.as_ptr(), to_append.as_ptr() )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe{ clib::Tcl_ListObjAppendElement( null_mut(), self.as_ptr(), elem.as_ptr() )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe{ clib::Tcl_ListObjGetElements( null_mut(), self.as_ptr(), &mut objc, &mut objv )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe{ clib::Tcl_ListObjLength( null_mut(), self.as_ptr(), &mut len )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | unsafe{ clib::Tcl_ListObjIndex( null_mut(), self.as_ptr(), index, &mut obj_ptr )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/list.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let result = unsafe{ clib::Tcl_ListObjReplace( null_mut(), self.as_ptr(), first, count, objc, objv )} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tcl` (lib) due to 7 previous errors; 66 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70c4db13f8fe616531e755bc5ab267c322f9f568c8e88db1f519a51fb3913484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c4db13f8fe616531e755bc5ab267c322f9f568c8e88db1f519a51fb3913484", kill_on_drop: false }` [INFO] [stdout] 70c4db13f8fe616531e755bc5ab267c322f9f568c8e88db1f519a51fb3913484