[INFO] fetching crate cups_rs 0.3.0... [INFO] testing cups_rs-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cups_rs 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate cups_rs 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cups_rs 0.3.0 [INFO] tweaked toml for crates.io crate cups_rs 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cups_rs 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cups_rs 0.3.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a82596698760d93e61541a6f9226141e9c84fc40e6915b3ff37c6fa4e153b3e [INFO] running `Command { std: "docker" "start" "-a" "3a82596698760d93e61541a6f9226141e9c84fc40e6915b3ff37c6fa4e153b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a82596698760d93e61541a6f9226141e9c84fc40e6915b3ff37c6fa4e153b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a82596698760d93e61541a6f9226141e9c84fc40e6915b3ff37c6fa4e153b3e", kill_on_drop: false }` [INFO] [stdout] 3a82596698760d93e61541a6f9226141e9c84fc40e6915b3ff37c6fa4e153b3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a7278d67be52e9e334b7891f0b566ae269e4a21adeea70eaf666961411cc9a4 [INFO] running `Command { std: "docker" "start" "-a" "0a7278d67be52e9e334b7891f0b566ae269e4a21adeea70eaf666961411cc9a4", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cups_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.67s [INFO] running `Command { std: "docker" "inspect" "0a7278d67be52e9e334b7891f0b566ae269e4a21adeea70eaf666961411cc9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7278d67be52e9e334b7891f0b566ae269e4a21adeea70eaf666961411cc9a4", kill_on_drop: false }` [INFO] [stdout] 0a7278d67be52e9e334b7891f0b566ae269e4a21adeea70eaf666961411cc9a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12fb5aab6c8184c6dde542e94f2bac5e6798981ae382dc2958117851b9a452b9 [INFO] running `Command { std: "docker" "start" "-a" "12fb5aab6c8184c6dde542e94f2bac5e6798981ae382dc2958117851b9a452b9", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling cups_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `FORMAT_TEXT` in this scope [INFO] [stdout] --> examples/print_with_options.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | if job.submit_file(&file_path, FORMAT_TEXT).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cups_rs::get_job_info`, `cups_rs::FORMAT_TEXT` [INFO] [stdout] --> examples/multi_document.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | create_job, get_destination, get_job_info, Result, FORMAT_TEXT, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ no `FORMAT_TEXT` in the root [INFO] [stdout] | | [INFO] [stdout] | no `get_job_info` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cups_rs` (example "print_with_options") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cups_rs` (example "multi_document") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find value `FORMAT_TEXT` in this scope [INFO] [stdout] --> tests/integration_tests.rs:205:59 [INFO] [stdout] | [INFO] [stdout] 205 | let submit_result = job.submit_file(temp_file.path(), FORMAT_TEXT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_job_info` in this scope [INFO] [stdout] --> tests/integration_tests.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | match get_job_info(job.id) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_TEXT` in this scope [INFO] [stdout] --> tests/integration_tests.rs:280:66 [INFO] [stdout] | [INFO] [stdout] 280 | let submit_result = job.submit_data(test_content.as_bytes(), FORMAT_TEXT, "options_test.txt"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_jobs` in this scope [INFO] [stdout] --> tests/integration_tests.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | let all_jobs = get_jobs(None).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::get_jobs; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::get_jobs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_job_info` in this scope [INFO] [stdout] --> tests/integration_tests.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let result = get_job_info(999999); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cancel_job` in this scope [INFO] [stdout] --> tests/integration_tests.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | let result = cancel_job(999999); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::cancel_job; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::cancel_job; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_job_info` in this scope [INFO] [stdout] --> examples/complete_workflow.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | match get_job_info(job_id) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cancel_job` in this scope [INFO] [stdout] --> examples/complete_workflow.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | cancel_job(job_id)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::cancel_job; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::cancel_job; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_PDF` in this scope [INFO] [stdout] --> examples/complete_workflow.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | FORMAT_PDF [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::FORMAT_PDF; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::FORMAT_PDF; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_TEXT` in this scope [INFO] [stdout] --> examples/complete_workflow.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | FORMAT_TEXT [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::FORMAT_TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_job_info` in this scope [INFO] [stdout] --> examples/complete_workflow.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | if let Ok(info) = get_job_info(job.id) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_job_info` in this scope [INFO] [stdout] --> examples/complete_workflow.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | match get_job_info(job.id) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] 1 + use cups_rs::job::get_job_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cups_rs` (example "complete_workflow") due to 6 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cups_rs` (test "integration") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "12fb5aab6c8184c6dde542e94f2bac5e6798981ae382dc2958117851b9a452b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fb5aab6c8184c6dde542e94f2bac5e6798981ae382dc2958117851b9a452b9", kill_on_drop: false }` [INFO] [stdout] 12fb5aab6c8184c6dde542e94f2bac5e6798981ae382dc2958117851b9a452b9