[INFO] cloning repository https://github.com/Hrushi20/ffmpeg-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hrushi20/ffmpeg-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHrushi20%2Fffmpeg-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHrushi20%2Fffmpeg-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68e28d9946ffd445405494dad8e71611bc56d2a5 [INFO] building Hrushi20/ffmpeg-rust/68e28d9946ffd445405494dad8e71611bc56d2a5 against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHrushi20%2Fffmpeg-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hrushi20/ffmpeg-rust on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hrushi20/ffmpeg-rust [INFO] finished tweaking git repo https://github.com/Hrushi20/ffmpeg-rust [INFO] tweaked toml for git repo https://github.com/Hrushi20/ffmpeg-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Hrushi20/ffmpeg-rust 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd36c62d127db2aad3d2479b2d78af8d8c28bf6cbc8c6fdb3a7c363e8fab01e3 [INFO] running `Command { std: "docker" "start" "-a" "bd36c62d127db2aad3d2479b2d78af8d8c28bf6cbc8c6fdb3a7c363e8fab01e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd36c62d127db2aad3d2479b2d78af8d8c28bf6cbc8c6fdb3a7c363e8fab01e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd36c62d127db2aad3d2479b2d78af8d8c28bf6cbc8c6fdb3a7c363e8fab01e3", kill_on_drop: false }` [INFO] [stdout] bd36c62d127db2aad3d2479b2d78af8d8c28bf6cbc8c6fdb3a7c363e8fab01e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4629d7672f7c424f6d752e60f9fee554409a7999ca0cd03ccbce9e95b56d1085 [INFO] running `Command { std: "docker" "start" "-a" "4629d7672f7c424f6d752e60f9fee554409a7999ca0cd03ccbce9e95b56d1085", kill_on_drop: false }` [INFO] [stderr] Compiling ffmpegRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `generated` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod generated; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `generated`, create file "src/generated.rs" or "src/generated/mod.rs" [INFO] [stdout] = note: if there is a `mod generated` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avformatAllocContext` in module `generated` [INFO] [stdout] --> src/main.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | let res = generated::avformatAllocContext(avFormatContext.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avformatOpenInput` in module `generated` [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let res = generated::avformatOpenInput(avFormatContext.as_mut_ptr() as u32, file.as_ptr(), file.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avformatFindStreamInfo` in module `generated` [INFO] [stdout] --> src/main.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | let no_of_streams = generated::avformatFindStreamInfo(avFormatContext.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecParameters` in module `generated` [INFO] [stdout] --> src/main.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | generated::avcodecParameters(avFormatContext.as_mut_ptr() as u32, i, pLocalCodecParameters.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecFindDecoder` in module `generated` [INFO] [stdout] --> src/main.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | match generated::avcodecFindDecoder(pLocalCodecParameters.as_mut_ptr() as u32, pLocalCodec.as_mut_ptr() as u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecAllocContext3` in module `generated` [INFO] [stdout] --> src/main.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | let res = generated::avcodecAllocContext3(avCodec.as_ptr() as u32, pCodecContext.as_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecParametersToContext` in module `generated` [INFO] [stdout] --> src/main.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | let res = generated::avcodecParametersToContext(pCodecContext.as_ptr() as u32, avCodecParameters.as_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecOpen2` in module `generated` [INFO] [stdout] --> src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | generated::avcodecOpen2(avCodec.as_ptr() as u32, pCodecContext.as_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avFrameAlloc` in module `generated` [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let res = generated::avFrameAlloc(frame.as_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avPacketAlloc` in module `generated` [INFO] [stdout] --> src/main.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let res = generated::avPacketAlloc(packet.as_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avReadFrame` in module `generated` [INFO] [stdout] --> src/main.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | while generated::avReadFrame(frame.as_ptr() as u32, packet.as_ptr() as u32) >= 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getStreamIndex` in module `generated` [INFO] [stdout] --> src/main.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | if generated::getStreamIndex(packet.as_ptr() as u32) as i32 == video_stream_index { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avPacketUnref` in module `generated` [INFO] [stdout] --> src/main.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | generated::avPacketUnref(packet.as_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avformatCloseInput` in module `generated` [INFO] [stdout] --> src/main.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | generated::avformatCloseInput(avFormatContext.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avPacketFree` in module `generated` [INFO] [stdout] --> src/main.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | generated::avPacketFree(packet.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avFrameFree` in module `generated` [INFO] [stdout] --> src/main.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | generated::avFrameFree(frame.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecFreeContext` in module `generated` [INFO] [stdout] --> src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | generated::avcodecFreeContext(avCodec.as_mut_ptr() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecSendPacket` in module `generated` [INFO] [stdout] --> src/main.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | let mut response = generated::avcodecSendPacket(packet as u32, pCodecContext as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `avcodecReceiveFrame` in module `generated` [INFO] [stdout] --> src/main.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | response = generated::avcodecReceiveFrame(frame as u32, pCodecContext as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `frameDimensions` in module `generated` [INFO] [stdout] --> src/main.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | generated::frameDimensions(frame as u32, dimensions.as_mut_ptr() as *mut u8, bufLen.as_mut_ptr() as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `frameData` in module `generated` [INFO] [stdout] --> src/main.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | generated::frameData(frame as u32, frame_buf.as_mut_ptr() as *mut u8, frame_buf.len()); [INFO] [stdout] | ^^^^^^^^^ not found in `generated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffmpegRust` (bin "ffmpegRust") due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "4629d7672f7c424f6d752e60f9fee554409a7999ca0cd03ccbce9e95b56d1085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4629d7672f7c424f6d752e60f9fee554409a7999ca0cd03ccbce9e95b56d1085", kill_on_drop: false }` [INFO] [stdout] 4629d7672f7c424f6d752e60f9fee554409a7999ca0cd03ccbce9e95b56d1085