[INFO] fetching crate ul 1.1.4... [INFO] checking ul-1.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ul 1.1.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ul 1.1.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ul 1.1.4 [INFO] finished tweaking crates.io crate ul 1.1.4 [INFO] tweaked toml for crates.io crate ul 1.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate ul 1.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.0 [INFO] [stderr] Downloaded ul-sys v1.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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d6af0178c9b4d64f72136b3bd1b6743ec5bf0f840288e9a3c7caf06e811dce [INFO] running `Command { std: "docker" "start" "-a" "29d6af0178c9b4d64f72136b3bd1b6743ec5bf0f840288e9a3c7caf06e811dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d6af0178c9b4d64f72136b3bd1b6743ec5bf0f840288e9a3c7caf06e811dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d6af0178c9b4d64f72136b3bd1b6743ec5bf0f840288e9a3c7caf06e811dce", kill_on_drop: false }` [INFO] [stdout] 29d6af0178c9b4d64f72136b3bd1b6743ec5bf0f840288e9a3c7caf06e811dce [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15251942d51dd0d667ddeb4b7d1273614434a90580e4637f248ce30b5725f017 [INFO] running `Command { std: "docker" "start" "-a" "15251942d51dd0d667ddeb4b7d1273614434a90580e4637f248ce30b5725f017", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ul-sys v1.1.2 [INFO] [stderr] Checking ul v1.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no associated item named `Undefined` found for type `u32` in the current scope [INFO] [stdout] --> src/jsc/value.rs:478:43 [INFO] [stdout] | [INFO] [stdout] 478 | assert_eq!(vu.get_type(), JSType::Undefined); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Null` found for type `u32` in the current scope [INFO] [stdout] --> src/jsc/value.rs:489:43 [INFO] [stdout] | [INFO] [stdout] 489 | assert_eq!(vn.get_type(), JSType::Null); [INFO] [stdout] | ^^^^ associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Boolean` found for type `u32` in the current scope [INFO] [stdout] --> src/jsc/value.rs:500:43 [INFO] [stdout] | [INFO] [stdout] 500 | assert_eq!(vt.get_type(), JSType::Boolean); [INFO] [stdout] | ^^^^^^^ associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:326:56 [INFO] [stdout] | [INFO] [stdout] 326 | std::ffi::CString::new(title).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | set_config_str!(config, self, fontFamilyStandard, ulConfigSetFontFamilyStandard); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Boolean` found for type `u32` in the current scope [INFO] [stdout] --> src/jsc/value.rs:508:43 [INFO] [stdout] | [INFO] [stdout] 508 | assert_eq!(vf.get_type(), JSType::Boolean); [INFO] [stdout] | ^^^^^^^ associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | set_config_str!(config, self, fontFamilyFixed, ulConfigSetFontFamilyFixed); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | set_config_str!(config, self, fontFamilySerif, ulConfigSetFontFamilySerif); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | set_config_str!(config, self, fontFamilySansSerif, ulConfigSetFontFamilySansSerif); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | set_config_str!(config, self, userAgent, ulConfigSetUserAgent); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | set_config_str!(config, self, userStylesheet, ulConfigSetUserStylesheet); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/config_macros.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 28 | / std::ffi::CString::new( [INFO] [stdout] 29 | | $self.$name.clone().unwrap() [INFO] [stdout] 30 | | ).unwrap().as_ptr() [INFO] [stdout] | | - ^^^^^^ this pointer will be invalid [INFO] [stdout] | |______________________________| [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] ::: src/settings.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | set_config_str!(settings, self, fileSystemPath, ulSettingsSetFileSystemPath); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `set_config_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Number` found for type `u32` in the current scope [INFO] [stdout] --> src/jsc/value.rs:520:43 [INFO] [stdout] | [INFO] [stdout] 520 | assert_eq!(vn.get_type(), JSType::Number); [INFO] [stdout] | ^^^^^^ associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `String` found for type `u32` in the current scope [INFO] [stdout] --> src/jsc/value.rs:532:43 [INFO] [stdout] | [INFO] [stdout] 532 | assert_eq!(vs.get_type(), JSType::String); [INFO] [stdout] | ^^^^^^ associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ul` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "15251942d51dd0d667ddeb4b7d1273614434a90580e4637f248ce30b5725f017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15251942d51dd0d667ddeb4b7d1273614434a90580e4637f248ce30b5725f017", kill_on_drop: false }` [INFO] [stdout] 15251942d51dd0d667ddeb4b7d1273614434a90580e4637f248ce30b5725f017