[INFO] fetching crate mediadevices 0.1.0... [INFO] testing mediadevices-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate mediadevices 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate mediadevices 0.1.0 [INFO] finished tweaking crates.io crate mediadevices 0.1.0 [INFO] tweaked toml for crates.io crate mediadevices 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mediadevices 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.5 (available: v0.72.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c0b5e0e4e6610f5bb14cb63fbdd8ebf5a47fc1ae8ead5777cc87df0a2a4f5aa [INFO] running `Command { std: "docker" "start" "-a" "6c0b5e0e4e6610f5bb14cb63fbdd8ebf5a47fc1ae8ead5777cc87df0a2a4f5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c0b5e0e4e6610f5bb14cb63fbdd8ebf5a47fc1ae8ead5777cc87df0a2a4f5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0b5e0e4e6610f5bb14cb63fbdd8ebf5a47fc1ae8ead5777cc87df0a2a4f5aa", kill_on_drop: false }` [INFO] [stdout] 6c0b5e0e4e6610f5bb14cb63fbdd8ebf5a47fc1ae8ead5777cc87df0a2a4f5aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 131998472c6f7afc28b39a00edfbbb6cd8e712dbdac882640b1bc4dcbe50b039 [INFO] running `Command { std: "docker" "start" "-a" "131998472c6f7afc28b39a00edfbbb6cd8e712dbdac882640b1bc4dcbe50b039", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling mediadevices v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `build_script_main` [INFO] [stdout] --> build/main.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ consider adding a `main` function to `build/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mediadevices` (build script) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "131998472c6f7afc28b39a00edfbbb6cd8e712dbdac882640b1bc4dcbe50b039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131998472c6f7afc28b39a00edfbbb6cd8e712dbdac882640b1bc4dcbe50b039", kill_on_drop: false }` [INFO] [stdout] 131998472c6f7afc28b39a00edfbbb6cd8e712dbdac882640b1bc4dcbe50b039