[INFO] cloning repository https://github.com/t924417424/mjpeg_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t924417424/mjpeg_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft924417424%2Fmjpeg_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft924417424%2Fmjpeg_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 60979d42dfee95bf8f5421fde4fa096ee8484bed
[INFO] testing t924417424/mjpeg_rs against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft924417424%2Fmjpeg_rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/t924417424/mjpeg_rs
[INFO] finished tweaking git repo https://github.com/t924417424/mjpeg_rs
[INFO] tweaked toml for git repo https://github.com/t924417424/mjpeg_rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/t924417424/mjpeg_rs on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/t924417424/mjpeg_rs 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2
[INFO] running `Command { std: "docker" "start" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling mjpeg_rs v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s
[INFO] running `Command { std: "docker" "inspect" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling mjpeg_rs v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mjpeg_rs-c7559b198501b5a0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mjpeg_rs
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - MJpeg::try_update_jpeg (line 48) ... FAILED
[INFO] [stdout] test src/lib.rs - MJpeg::run (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - MJpeg::new (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - MJpeg::update_jpeg (line 30) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - MJpeg::try_update_jpeg (line 48) stdout ----
[INFO] [stdout] error: expected `,` following `match` arm
[INFO] [stdout]   --> src/lib.rs:56:94
[INFO] [stdout]    |
[INFO] [stdout] 56 |         Err(TrySendError::Full(_b)) => println!("nobody is listening, or queue is backed up")
[INFO] [stdout]    |                                                                                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: missing a comma here to end this `match` arm
[INFO] [stdout]    |
[INFO] [stdout] 56 |         Err(TrySendError::Full(_b)) => println!("nobody is listening, or queue is backed up"),
[INFO] [stdout]    |                                                                                              +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 48 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope
[INFO] [stdout]   --> src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | thread::spawn(move || mrc.run("0.0.0.0:8088").unwrap());
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 48 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `camera` in this scope
[INFO] [stdout]   --> src/lib.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let b = camera.take_one().unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TrySendError` in this scope
[INFO] [stdout]   --> src/lib.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         Err(TrySendError::Full(_b)) => println!("nobody is listening, or queue is backed up")
[INFO] [stdout]    |             ^^^^^^^^^^^^ use of undeclared type `TrySendError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 48 + use std::sync::mpsc::TrySendError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TrySendError` in this scope
[INFO] [stdout]   --> src/lib.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Err(TrySendError::Disconnected(_b)) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^ use of undeclared type `TrySendError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 48 + use std::sync::mpsc::TrySendError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MJpeg` in this scope
[INFO] [stdout]   --> src/lib.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |                  ^^^^^ use of undeclared type `MJpeg`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - MJpeg::run (line 78) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | thread::spawn(move || mrc.run("0.0.0.0:8088").unwrap());
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 78 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `camera` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let b = camera.take_one().unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MJpeg` in this scope
[INFO] [stdout]   --> src/lib.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |                  ^^^^^ use of undeclared type `MJpeg`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - MJpeg::new (line 19) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 19 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MJpeg` in this scope
[INFO] [stdout]   --> src/lib.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |                  ^^^^^ use of undeclared type `MJpeg`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - MJpeg::update_jpeg (line 30) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |         ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 30 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | thread::spawn(move || mrc.run("0.0.0.0:8088").unwrap());
[INFO] [stdout]    | ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 30 + use std::thread;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `camera` in this scope
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let b = camera.take_one().unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MJpeg` in this scope
[INFO] [stdout]   --> src/lib.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | let m = Arc::new(MJpeg::new());
[INFO] [stdout]    |                  ^^^^^ use of undeclared type `MJpeg`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - MJpeg::new (line 19)
[INFO] [stdout]     src/lib.rs - MJpeg::run (line 78)
[INFO] [stdout]     src/lib.rs - MJpeg::try_update_jpeg (line 48)
[INFO] [stdout]     src/lib.rs - MJpeg::update_jpeg (line 30)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2", kill_on_drop: false }`
[INFO] [stdout] 3548c127525b37317a325bb9a743970b3e4653417348c239c97f6b8c7ba60cc2
