[INFO] fetching crate mediadevices 0.1.0...
[INFO] checking mediadevices-0.1.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate mediadevices 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate mediadevices 0.1.0 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 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-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 46 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.69.5 (available: v0.70.1)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.3)
[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] 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] e2fa15c2073fb054bed6fa68cec95e74767c364c150fe4d17bdba0c8c1f20e27
[INFO] running `Command { std: "docker" "start" "-a" "e2fa15c2073fb054bed6fa68cec95e74767c364c150fe4d17bdba0c8c1f20e27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2fa15c2073fb054bed6fa68cec95e74767c364c150fe4d17bdba0c8c1f20e27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2fa15c2073fb054bed6fa68cec95e74767c364c150fe4d17bdba0c8c1f20e27", kill_on_drop: false }`
[INFO] [stdout] e2fa15c2073fb054bed6fa68cec95e74767c364c150fe4d17bdba0c8c1f20e27
[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] edc6d58164b7e86d11786c62061afc0ead987caf78f2e96a77a577fb5b25d968
[INFO] running `Command { std: "docker" "start" "-a" "edc6d58164b7e86d11786c62061afc0ead987caf78f2e96a77a577fb5b25d968", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling thiserror-impl 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" "edc6d58164b7e86d11786c62061afc0ead987caf78f2e96a77a577fb5b25d968", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edc6d58164b7e86d11786c62061afc0ead987caf78f2e96a77a577fb5b25d968", kill_on_drop: false }`
[INFO] [stdout] edc6d58164b7e86d11786c62061afc0ead987caf78f2e96a77a577fb5b25d968
