[INFO] fetching crate flite 0.0.3... [INFO] testing flite-0.0.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate flite 0.0.3 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flite 0.0.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flite-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4528c1432da9fb6b6c40e3e9307f45f4f0e3fa58bc7400f4299d92d09c1b93c1 [INFO] running `Command { std: "docker" "start" "-a" "4528c1432da9fb6b6c40e3e9307f45f4f0e3fa58bc7400f4299d92d09c1b93c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4528c1432da9fb6b6c40e3e9307f45f4f0e3fa58bc7400f4299d92d09c1b93c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4528c1432da9fb6b6c40e3e9307f45f4f0e3fa58bc7400f4299d92d09c1b93c1", kill_on_drop: false }` [INFO] [stdout] 4528c1432da9fb6b6c40e3e9307f45f4f0e3fa58bc7400f4299d92d09c1b93c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c46a64ac8c6d9bee208d417c10be7b64b638498feb4bf643d9f8a9583442d42 [INFO] running `Command { std: "docker" "start" "-a" "3c46a64ac8c6d9bee208d417c10be7b64b638498feb4bf643d9f8a9583442d42", 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 1.13s [INFO] running `Command { std: "docker" "inspect" "3c46a64ac8c6d9bee208d417c10be7b64b638498feb4bf643d9f8a9583442d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c46a64ac8c6d9bee208d417c10be7b64b638498feb4bf643d9f8a9583442d42", kill_on_drop: false }` [INFO] [stdout] 3c46a64ac8c6d9bee208d417c10be7b64b638498feb4bf643d9f8a9583442d42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 716d5620abac2b85be24999ae8b3851c6eeeb0ed10ba5bc25da1174186b86041 [INFO] running `Command { std: "docker" "start" "-a" "716d5620abac2b85be24999ae8b3851c6eeeb0ed10ba5bc25da1174186b86041", 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcAiej1K/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/rustcAiej1K/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] [stderr] error: could not compile `flite` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "716d5620abac2b85be24999ae8b3851c6eeeb0ed10ba5bc25da1174186b86041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716d5620abac2b85be24999ae8b3851c6eeeb0ed10ba5bc25da1174186b86041", kill_on_drop: false }` [INFO] [stdout] 716d5620abac2b85be24999ae8b3851c6eeeb0ed10ba5bc25da1174186b86041