[INFO] fetching crate tmp_vec 0.0.1...
[INFO] testing tmp_vec-0.0.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate tmp_vec 0.0.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate tmp_vec 0.0.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tmp_vec 0.0.1
[INFO] finished tweaking crates.io crate tmp_vec 0.0.1
[INFO] tweaked toml for crates.io crate tmp_vec 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d9869982406abb8604add3fd73584e2f70d4b61967f735eeef575b996f8dec2
[INFO] running `Command { std: "docker" "start" "-a" "3d9869982406abb8604add3fd73584e2f70d4b61967f735eeef575b996f8dec2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d9869982406abb8604add3fd73584e2f70d4b61967f735eeef575b996f8dec2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d9869982406abb8604add3fd73584e2f70d4b61967f735eeef575b996f8dec2", kill_on_drop: false }`
[INFO] [stdout] 3d9869982406abb8604add3fd73584e2f70d4b61967f735eeef575b996f8dec2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28908232903bf92c1a0af9ce8a1a93a516aefa4914251e2c6d658c1ac74fcc53
[INFO] running `Command { std: "docker" "start" "-a" "28908232903bf92c1a0af9ce8a1a93a516aefa4914251e2c6d658c1ac74fcc53", kill_on_drop: false }`
[INFO] [stderr]    Compiling tmp_vec v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "28908232903bf92c1a0af9ce8a1a93a516aefa4914251e2c6d658c1ac74fcc53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28908232903bf92c1a0af9ce8a1a93a516aefa4914251e2c6d658c1ac74fcc53", kill_on_drop: false }`
[INFO] [stdout] 28908232903bf92c1a0af9ce8a1a93a516aefa4914251e2c6d658c1ac74fcc53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 621bb05c9689a82889022de7338aedbfbce14bdc4cd5d55310559d8d1080e068
[INFO] running `Command { std: "docker" "start" "-a" "621bb05c9689a82889022de7338aedbfbce14bdc4cd5d55310559d8d1080e068", kill_on_drop: false }`
[INFO] [stderr]    Compiling tmp_vec v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "621bb05c9689a82889022de7338aedbfbce14bdc4cd5d55310559d8d1080e068", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "621bb05c9689a82889022de7338aedbfbce14bdc4cd5d55310559d8d1080e068", kill_on_drop: false }`
[INFO] [stdout] 621bb05c9689a82889022de7338aedbfbce14bdc4cd5d55310559d8d1080e068
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d25f10931857160a614c6b3d7f779dd08c9591a1c950722e4c7296c4a71d6ed
[INFO] running `Command { std: "docker" "start" "-a" "1d25f10931857160a614c6b3d7f779dd08c9591a1c950722e4c7296c4a71d6ed", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tmp_vec-0264ea07db31aeb4)
[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 tmp_vec
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 3) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 19) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/lib.rs:25:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Foo {
[INFO] [stdout]   |            --- while parsing this struct
[INFO] [stdout] 8 |     tmp_guards: TmpVec<Guard<'static>>,
[INFO] [stdout] 9 |     ...
[INFO] [stdout]   |     ^^^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ...
[INFO] [stdout]    |          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ...
[INFO] [stdout]    |          ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: only foreign or `unsafe extern "C"` functions may be C-variadic
[INFO] [stdout]   --> src/lib.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn do_something(&mut self, ...){
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Guard` in this scope
[INFO] [stdout]  --> src/lib.rs:24:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     tmp_guards: TmpVec<Guard<'static>>,
[INFO] [stdout]   |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: C-variadic functions are unstable
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | /     fn do_something(&mut self, ...){
[INFO] [stdout] 14 | |          let mut guards = self.tmp_guards.borrow_mut();
[INFO] [stdout] 15 | |          ...
[INFO] [stdout] 16 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
[INFO] [stdout]    = help: add `#![feature(c_variadic)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-05-15; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 3) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Foo {
[INFO] [stdout]   |            --- while parsing this struct
[INFO] [stdout] 4 |     ...
[INFO] [stdout]   |     ^^^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ...
[INFO] [stdout]    |         ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: only foreign or `unsafe extern "C"` functions may be C-variadic
[INFO] [stdout]  --> src/lib.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn do_something(&mut self, ...){
[INFO] [stdout]   |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'x`
[INFO] [stdout]   --> src/lib.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout]    |                                   ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'x` here
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn do_something<'x>(&mut self, ...){
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'x` here
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl<'x> Foo {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Guard` in this scope
[INFO] [stdout]   --> src/lib.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout]    |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `xxx` in this scope
[INFO] [stdout]   --> src/lib.rs:11:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout]    |                                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: C-variadic functions are unstable
[INFO] [stdout]   --> src/lib.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | /     fn do_something(&mut self, ...){
[INFO] [stdout] 9  | |         //FIXME: avoid allocation. can't fix this because T is lifetime-bound.
[INFO] [stdout] 10 | |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout] 11 | |         ...
[INFO] [stdout] 12 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
[INFO] [stdout]    = help: add `#![feature(c_variadic)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-05-15; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0412, E0425, E0586, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 19)
[INFO] [stdout]     src/lib.rs - (line 3)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1d25f10931857160a614c6b3d7f779dd08c9591a1c950722e4c7296c4a71d6ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d25f10931857160a614c6b3d7f779dd08c9591a1c950722e4c7296c4a71d6ed", kill_on_drop: false }`
[INFO] [stdout] 1d25f10931857160a614c6b3d7f779dd08c9591a1c950722e4c7296c4a71d6ed
[INFO] testing tmp_vec-0.0.1 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate tmp_vec 0.0.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate tmp_vec 0.0.1 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tmp_vec 0.0.1
[INFO] finished tweaking crates.io crate tmp_vec 0.0.1
[INFO] tweaked toml for crates.io crate tmp_vec 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cde78341d252c1328a4677d094bea53c1428588c499cbf9c5b52c0718aad07a6
[INFO] running `Command { std: "docker" "start" "-a" "cde78341d252c1328a4677d094bea53c1428588c499cbf9c5b52c0718aad07a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cde78341d252c1328a4677d094bea53c1428588c499cbf9c5b52c0718aad07a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cde78341d252c1328a4677d094bea53c1428588c499cbf9c5b52c0718aad07a6", kill_on_drop: false }`
[INFO] [stdout] cde78341d252c1328a4677d094bea53c1428588c499cbf9c5b52c0718aad07a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b705e20b2f2baa5ddf9276ed692e453fe0a4ec7a03cc5cb66f87b3a9df56dcea
[INFO] running `Command { std: "docker" "start" "-a" "b705e20b2f2baa5ddf9276ed692e453fe0a4ec7a03cc5cb66f87b3a9df56dcea", kill_on_drop: false }`
[INFO] [stderr]    Compiling tmp_vec v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "b705e20b2f2baa5ddf9276ed692e453fe0a4ec7a03cc5cb66f87b3a9df56dcea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b705e20b2f2baa5ddf9276ed692e453fe0a4ec7a03cc5cb66f87b3a9df56dcea", kill_on_drop: false }`
[INFO] [stdout] b705e20b2f2baa5ddf9276ed692e453fe0a4ec7a03cc5cb66f87b3a9df56dcea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2084c528f7610e00113e13a28ad49ef8481f28c81527c320611ea13ab1cbdf84
[INFO] running `Command { std: "docker" "start" "-a" "2084c528f7610e00113e13a28ad49ef8481f28c81527c320611ea13ab1cbdf84", kill_on_drop: false }`
[INFO] [stderr]    Compiling tmp_vec v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "2084c528f7610e00113e13a28ad49ef8481f28c81527c320611ea13ab1cbdf84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2084c528f7610e00113e13a28ad49ef8481f28c81527c320611ea13ab1cbdf84", kill_on_drop: false }`
[INFO] [stdout] 2084c528f7610e00113e13a28ad49ef8481f28c81527c320611ea13ab1cbdf84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4618d8ab786e566d1981e8cee67aaab8e3b27f761072e966869744ccb3896768
[INFO] running `Command { std: "docker" "start" "-a" "4618d8ab786e566d1981e8cee67aaab8e3b27f761072e966869744ccb3896768", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tmp_vec-0264ea07db31aeb4)
[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 tmp_vec
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 3) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 19) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 3) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Foo {
[INFO] [stdout]   |            --- while parsing this struct
[INFO] [stdout] 4 |     ...
[INFO] [stdout]   |     ^^^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ...
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ...
[INFO] [stdout]    |         ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: only foreign or `unsafe extern "C"` functions may be C-variadic
[INFO] [stdout]  --> src/lib.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn do_something(&mut self, ...){
[INFO] [stdout]   |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'x`
[INFO] [stdout]   --> src/lib.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout]    |                                   ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'x` here
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn do_something<'x>(&mut self, ...){
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'x` here
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl<'x> Foo {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Guard` in this scope
[INFO] [stdout]   --> src/lib.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout]    |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `xxx` in this scope
[INFO] [stdout]   --> src/lib.rs:11:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout]    |                                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: C-variadic functions are unstable
[INFO] [stdout]   --> src/lib.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | /     fn do_something(&mut self, ...){
[INFO] [stdout] 9  | |         //FIXME: avoid allocation. can't fix this because T is lifetime-bound.
[INFO] [stdout] 10 | |         let mut guards: Vec<Guard<'x>> = Vec::with_capacity(xxx.len());
[INFO] [stdout] 11 | |         ...
[INFO] [stdout] 12 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
[INFO] [stdout]    = help: add `#![feature(c_variadic)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-05-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0412, E0425, E0586, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 19) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/lib.rs:25:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Foo {
[INFO] [stdout]   |            --- while parsing this struct
[INFO] [stdout] 8 |     tmp_guards: TmpVec<Guard<'static>>,
[INFO] [stdout] 9 |     ...
[INFO] [stdout]   |     ^^^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ...
[INFO] [stdout]    |          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ..
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ..=
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |          ...
[INFO] [stdout]    |          ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: only foreign or `unsafe extern "C"` functions may be C-variadic
[INFO] [stdout]   --> src/lib.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn do_something(&mut self, ...){
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Guard` in this scope
[INFO] [stdout]  --> src/lib.rs:24:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     tmp_guards: TmpVec<Guard<'static>>,
[INFO] [stdout]   |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: C-variadic functions are unstable
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | /     fn do_something(&mut self, ...){
[INFO] [stdout] 14 | |          let mut guards = self.tmp_guards.borrow_mut();
[INFO] [stdout] 15 | |          ...
[INFO] [stdout] 16 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
[INFO] [stdout]    = help: add `#![feature(c_variadic)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-05-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 19)
[INFO] [stdout]     src/lib.rs - (line 3)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4618d8ab786e566d1981e8cee67aaab8e3b27f761072e966869744ccb3896768", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4618d8ab786e566d1981e8cee67aaab8e3b27f761072e966869744ccb3896768", kill_on_drop: false }`
[INFO] [stdout] 4618d8ab786e566d1981e8cee67aaab8e3b27f761072e966869744ccb3896768
