[INFO] fetching crate qjs 0.1.2... [INFO] testing qjs-0.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate qjs 0.1.2 into /workspace/builds/worker-83/source [INFO] validating manifest of crates.io crate qjs 0.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qjs 0.1.2 [INFO] finished tweaking crates.io crate qjs 0.1.2 [INFO] tweaked toml for crates.io crate qjs 0.1.2 written to /workspace/builds/worker-83/source/Cargo.toml [INFO] crate crates.io crate qjs 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61a606069665675f20be53f3d2d1857b43fbc76bd2cafdf94723b9521ece22e8 [INFO] running `Command { std: "docker" "start" "-a" "61a606069665675f20be53f3d2d1857b43fbc76bd2cafdf94723b9521ece22e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61a606069665675f20be53f3d2d1857b43fbc76bd2cafdf94723b9521ece22e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a606069665675f20be53f3d2d1857b43fbc76bd2cafdf94723b9521ece22e8", kill_on_drop: false }` [INFO] [stdout] 61a606069665675f20be53f3d2d1857b43fbc76bd2cafdf94723b9521ece22e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f77ccd45a72a44f875d140062821c1c9c25040b36c23e743c8acf64cac2b073 [INFO] running `Command { std: "docker" "start" "-a" "8f77ccd45a72a44f875d140062821c1c9c25040b36c23e743c8acf64cac2b073", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling syn v1.0.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling procedural-masquerade v0.1.6 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rust-lzma v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.7 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling foreign-types-macros v0.1.0 [INFO] [stderr] Compiling qjs-derive-support v0.1.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling foreign-types v0.4.0 [INFO] [stderr] Compiling qjs-sys v0.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling cstr-macros v0.1.6 [INFO] [stderr] Compiling cstr v0.1.7 [INFO] [stderr] Compiling qjs-derive v0.1.1 [INFO] [stderr] Compiling qjs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/error.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | cstr!("%s").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(proc_macro_back_compat)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/error.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | cstr!("%s").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/error.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | cstr!("%s").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/error.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | cstr!("%s").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/error.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | cstr!("%s").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/stdlib.rs:13:73 [INFO] [stdout] | [INFO] [stdout] 13 | self.check_null(unsafe { ffi::js_init_module_std(self.as_ptr(), cstr!(std).as_ptr()) }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/stdlib.rs:19:72 [INFO] [stdout] | [INFO] [stdout] 19 | self.check_null(unsafe { ffi::js_init_module_os(self.as_ptr(), cstr!(os).as_ptr()) }) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: using `procedural-masquerade` crate [INFO] [stdout] --> src/userdata.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | class_name: cstr!(Userdata).as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83125 [INFO] [stdout] = note: The `procedural-masquerade` crate has been unnecessary since Rust 1.30.0. Versions of this crate below 0.1.7 will eventually stop compiling. [INFO] [stdout] = note: this error originates in the macro `cstr__invoke_build_bytes` (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/atom.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 114 | / CString::new(s) [INFO] [stdout] 115 | | .expect("atom string should not contain an internal 0 byte") [INFO] [stdout] | |________________________________________________________________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 116 | .as_ptr(), [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/error.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | CString::new(msg).expect("msg").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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/error.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | CString::new(msg).expect("msg").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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/error.rs:278:49 [INFO] [stdout] | [INFO] [stdout] 278 | CString::new(msg).expect("msg").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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/error.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | CString::new(msg).expect("msg").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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/error.rs:298:49 [INFO] [stdout] | [INFO] [stdout] 298 | CString::new(msg).expect("msg").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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/module.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | CString::new(name).expect("name").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] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/prop.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | CString::new(*self).expect("prop").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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qjs` due to 9 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f77ccd45a72a44f875d140062821c1c9c25040b36c23e743c8acf64cac2b073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f77ccd45a72a44f875d140062821c1c9c25040b36c23e743c8acf64cac2b073", kill_on_drop: false }` [INFO] [stdout] 8f77ccd45a72a44f875d140062821c1c9c25040b36c23e743c8acf64cac2b073