[INFO] fetching crate flite 0.0.3... [INFO] testing flite-0.0.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate flite 0.0.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate flite 0.0.3 [INFO] finished tweaking crates.io crate flite 0.0.3 [INFO] tweaked toml for crates.io crate flite 0.0.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flite 0.0.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a493d27f7b316d34a4b33f02da69764fbe4fe124b6048c152951882c5d9d3ab3 [INFO] running `Command { std: "docker" "start" "-a" "a493d27f7b316d34a4b33f02da69764fbe4fe124b6048c152951882c5d9d3ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a493d27f7b316d34a4b33f02da69764fbe4fe124b6048c152951882c5d9d3ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a493d27f7b316d34a4b33f02da69764fbe4fe124b6048c152951882c5d9d3ab3", kill_on_drop: false }` [INFO] [stdout] a493d27f7b316d34a4b33f02da69764fbe4fe124b6048c152951882c5d9d3ab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f79ed193c33cd6e0cb935ece01033ff67014ada2a600347d42f852c2a29778fc [INFO] running `Command { std: "docker" "start" "-a" "f79ed193c33cd6e0cb935ece01033ff67014ada2a600347d42f852c2a29778fc", kill_on_drop: false }` [INFO] [stderr] Compiling flite-sys v0.1.2 [INFO] [stderr] Compiling flite v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement [INFO] [stdout] --> src/lib.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | let c_text = CString::new(text.into())?.as_ptr(); [INFO] [stdout] | -------------------------- ^^^^^^ pointer created here [INFO] [stdout] | | [INFO] [stdout] | this `CString` is dropped at end of statement [INFO] [stdout] | [INFO] [stdout] = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "f79ed193c33cd6e0cb935ece01033ff67014ada2a600347d42f852c2a29778fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79ed193c33cd6e0cb935ece01033ff67014ada2a600347d42f852c2a29778fc", kill_on_drop: false }` [INFO] [stdout] f79ed193c33cd6e0cb935ece01033ff67014ada2a600347d42f852c2a29778fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6e66b8f5b7adb0a9436125b0c19d52ddc3350e73421c5b9b08e4cb9552003c7 [INFO] running `Command { std: "docker" "start" "-a" "d6e66b8f5b7adb0a9436125b0c19d52ddc3350e73421c5b9b08e4cb9552003c7", kill_on_drop: false }` [INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement [INFO] [stdout] --> src/lib.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | let c_text = CString::new(text.into())?.as_ptr(); [INFO] [stdout] | -------------------------- ^^^^^^ pointer created here [INFO] [stdout] | | [INFO] [stdout] | this `CString` is dropped at end of statement [INFO] [stdout] | [INFO] [stdout] = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flite v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement [INFO] [stdout] --> src/lib.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | let c_text = CString::new(text.into())?.as_ptr(); [INFO] [stdout] | -------------------------- ^^^^^^ pointer created here [INFO] [stdout] | | [INFO] [stdout] | this `CString` is dropped at end of statement [INFO] [stdout] | [INFO] [stdout] = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flite` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcaxrw4y/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libflite_sys-c2d4d3f164cb4476.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lflite" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcaxrw4y/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/flite-f41a63c1d9529d8c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lflite [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6e66b8f5b7adb0a9436125b0c19d52ddc3350e73421c5b9b08e4cb9552003c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e66b8f5b7adb0a9436125b0c19d52ddc3350e73421c5b9b08e4cb9552003c7", kill_on_drop: false }` [INFO] [stdout] d6e66b8f5b7adb0a9436125b0c19d52ddc3350e73421c5b9b08e4cb9552003c7