[INFO] fetching crate mozjs 0.10.1...
[INFO] checking mozjs-0.10.1 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate mozjs 0.10.1 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate mozjs 0.10.1 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mozjs 0.10.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate mozjs 0.10.1
[INFO] tweaked toml for crates.io crate mozjs 0.10.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 68 packages to latest compatible versions
[INFO] [stderr]       Adding mozjs_sys v0.61.13 (available: v0.67.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4306a3e3e70ea7ec786d948026db381b306dcc69bb2b298b6447c26971ab63b8
[INFO] running `Command { std: "docker" "start" "-a" "4306a3e3e70ea7ec786d948026db381b306dcc69bb2b298b6447c26971ab63b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4306a3e3e70ea7ec786d948026db381b306dcc69bb2b298b6447c26971ab63b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4306a3e3e70ea7ec786d948026db381b306dcc69bb2b298b6447c26971ab63b8", kill_on_drop: false }`
[INFO] [stdout] 4306a3e3e70ea7ec786d948026db381b306dcc69bb2b298b6447c26971ab63b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cb254d639985fe004358b33794d4e68f9c9bbbefa44203c7390d2f2194f84f8
[INFO] running `Command { std: "docker" "start" "-a" "3cb254d639985fe004358b33794d4e68f9c9bbbefa44203c7390d2f2194f84f8", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling clang-sys v0.28.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bindgen v0.49.4
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling libz-sys v1.1.20
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling mozjs v0.10.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `Cow<'_, str>: AsRef<OsStr>` is not satisfied
[INFO] [stdout]    --> build.rs:54:21
[INFO] [stdout]     |
[INFO] [stdout] 54  |         build.flag(&confdefs_path.to_string_lossy());
[INFO] [stdout]     |               ----  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef<OsStr>` is not implemented for `Cow<'_, str>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: required for `&Cow<'_, str>` to implement `AsRef<OsStr>`
[INFO] [stdout] note: required by a bound in `Build::flag`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cc-1.2.2/src/lib.rs:556:39
[INFO] [stdout]     |
[INFO] [stdout] 556 |     pub fn flag(&mut self, flag: impl AsRef<OsStr>) -> &mut Build {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ required by this bound in `Build::flag`
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 54  |         build.flag(&*confdefs_path.to_string_lossy());
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mozjs` (build script) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "3cb254d639985fe004358b33794d4e68f9c9bbbefa44203c7390d2f2194f84f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cb254d639985fe004358b33794d4e68f9c9bbbefa44203c7390d2f2194f84f8", kill_on_drop: false }`
[INFO] [stdout] 3cb254d639985fe004358b33794d4e68f9c9bbbefa44203c7390d2f2194f84f8
