[INFO] fetching crate tmp_vec 0.0.1... [INFO] testing tmp_vec-0.0.1 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate tmp_vec 0.0.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tmp_vec 0.0.1 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 844aa439b2756b9fca8aa751bde6bdce72f98933afd9beb874d65341013c6000 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "844aa439b2756b9fca8aa751bde6bdce72f98933afd9beb874d65341013c6000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "844aa439b2756b9fca8aa751bde6bdce72f98933afd9beb874d65341013c6000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844aa439b2756b9fca8aa751bde6bdce72f98933afd9beb874d65341013c6000", kill_on_drop: false }` [INFO] [stdout] 844aa439b2756b9fca8aa751bde6bdce72f98933afd9beb874d65341013c6000 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeec31c717df7ea5cf94f3ccd107af685010b02cd420394d2645512d612b5828 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eeec31c717df7ea5cf94f3ccd107af685010b02cd420394d2645512d612b5828", kill_on_drop: false }` [INFO] [stderr] Compiling tmp_vec v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "eeec31c717df7ea5cf94f3ccd107af685010b02cd420394d2645512d612b5828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeec31c717df7ea5cf94f3ccd107af685010b02cd420394d2645512d612b5828", kill_on_drop: false }` [INFO] [stdout] eeec31c717df7ea5cf94f3ccd107af685010b02cd420394d2645512d612b5828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5ac24d92af27f3a6e35279e30be1f04357ab15b14ec4085fa1c0db5fa2f85e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f5ac24d92af27f3a6e35279e30be1f04357ab15b14ec4085fa1c0db5fa2f85e", kill_on_drop: false }` [INFO] [stderr] Compiling tmp_vec v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "6f5ac24d92af27f3a6e35279e30be1f04357ab15b14ec4085fa1c0db5fa2f85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5ac24d92af27f3a6e35279e30be1f04357ab15b14ec4085fa1c0db5fa2f85e", kill_on_drop: false }` [INFO] [stdout] 6f5ac24d92af27f3a6e35279e30be1f04357ab15b14ec4085fa1c0db5fa2f85e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75aeb0e1568d2f0ab447522ccbf142fc816a3a5d1082e5c061e9443db29847c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75aeb0e1568d2f0ab447522ccbf142fc816a3a5d1082e5c061e9443db29847c8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tmp_vec-bb6c2ae92772058c [INFO] [stdout] [INFO] [stderr] Doc-tests tmp_vec [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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] 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[E0412]: cannot find type `Guard` in this scope [INFO] [stdout] --> src/lib.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 10 | let mut guards: Vec> = 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> = 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> = Vec::with_capacity(xxx.len()); [INFO] [stdout] 11 | | ... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #44930 for more information [INFO] [stdout] = help: add `#![feature(c_variadic)]` to the crate attributes to enable [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> = Vec::with_capacity(xxx.len()); [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'x` here [INFO] [stdout] | [INFO] [stdout] 7 | impl<'x> Foo { [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] [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:24:5 [INFO] [stdout] | [INFO] [stdout] 8 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 14 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 14 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 14 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 14 | ... [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:28:32 [INFO] [stdout] | [INFO] [stdout] 12 | 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:23:24 [INFO] [stdout] | [INFO] [stdout] 7 | tmp_guards: TmpVec>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: C-variadic functions are unstable [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 12 | / fn do_something(&mut self, ...){ [INFO] [stdout] 13 | | let mut guards = self.tmp_guards.borrow_mut(); [INFO] [stdout] 14 | | ... [INFO] [stdout] 15 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #44930 for more information [INFO] [stdout] = help: add `#![feature(c_variadic)]` to the crate attributes to enable [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "75aeb0e1568d2f0ab447522ccbf142fc816a3a5d1082e5c061e9443db29847c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75aeb0e1568d2f0ab447522ccbf142fc816a3a5d1082e5c061e9443db29847c8", kill_on_drop: false }` [INFO] [stdout] 75aeb0e1568d2f0ab447522ccbf142fc816a3a5d1082e5c061e9443db29847c8