[INFO] crate ambassade-debug 0.2.0 is already in cache [INFO] testing ambassade-debug-0.2.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate ambassade-debug 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ambassade-debug 0.2.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ambassade-debug 0.2.0 [INFO] finished tweaking crates.io crate ambassade-debug 0.2.0 [INFO] tweaked toml for crates.io crate ambassade-debug 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 786c9d4b2a1ef8ae1d76d5960e3963e375d0bcacf59a1846e9a65cd50ce5c39e [INFO] running `"docker" "start" "-a" "786c9d4b2a1ef8ae1d76d5960e3963e375d0bcacf59a1846e9a65cd50ce5c39e"` [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.16 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling git2 v0.8.0 [INFO] [stderr] Compiling ambassade-debug v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/debug.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | try!(write!(f, "{}", string)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `"docker" "inspect" "786c9d4b2a1ef8ae1d76d5960e3963e375d0bcacf59a1846e9a65cd50ce5c39e"` [INFO] running `"docker" "rm" "-f" "786c9d4b2a1ef8ae1d76d5960e3963e375d0bcacf59a1846e9a65cd50ce5c39e"` [INFO] [stdout] 786c9d4b2a1ef8ae1d76d5960e3963e375d0bcacf59a1846e9a65cd50ce5c39e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4af9ea1c9babeb6e9306573cd93a22250c5160ca6a17d0bc41c3cddf79392d91 [INFO] running `"docker" "start" "-a" "4af9ea1c9babeb6e9306573cd93a22250c5160ca6a17d0bc41c3cddf79392d91"` [INFO] [stderr] Compiling ambassade-debug v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/debug.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | try!(write!(f, "{}", string)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/debug.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | try!(write!(f, "{}", string)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `"docker" "inspect" "4af9ea1c9babeb6e9306573cd93a22250c5160ca6a17d0bc41c3cddf79392d91"` [INFO] running `"docker" "rm" "-f" "4af9ea1c9babeb6e9306573cd93a22250c5160ca6a17d0bc41c3cddf79392d91"` [INFO] [stdout] 4af9ea1c9babeb6e9306573cd93a22250c5160ca6a17d0bc41c3cddf79392d91 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3392442bc993d8748a838ff39391e6540f915966550af7532163b4b881d965ca [INFO] running `"docker" "start" "-a" "3392442bc993d8748a838ff39391e6540f915966550af7532163b4b881d965ca"` [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/debug.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | try!(write!(f, "{}", string)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/debug.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | try!(write!(f, "{}", string)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ambassade_debug-f78db0353a283bc3 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests ambassade-debug [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/debug.rs - debug::SubmitMethod::submission_failed (line 40) ... FAILED [INFO] [stdout] test src/debug.rs - debug::SubmitMethod (line 8) ... FAILED [INFO] [stdout] test src/debug.rs - debug::SubmitMethod::submission_succeeded (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/debug.rs - debug::SubmitMethod::submission_failed (line 40) stdout ---- [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `&` [INFO] [stdout] --> src/debug.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 3 | fn submission_failed(&self, info &DebugInfo) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/debug.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 3 | fn submission_failed(&self, info &DebugInfo) { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `info` in this scope [INFO] [stdout] --> src/debug.rs:42:116 [INFO] [stdout] | [INFO] [stdout] 4 | println!("Something went wrong. Our apologies for the inconvenience. This information could not be sent:\n{}", info); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/debug.rs - debug::SubmitMethod (line 8) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SubmitMethod` in this scope [INFO] [stdout] --> src/debug.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl SubmitMethod for MockType { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DebugInfo` in this scope [INFO] [stdout] --> src/debug.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 6 | fn submit(&self, info: &DebugInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/debug.rs - debug::SubmitMethod::submission_succeeded (line 27) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/debug.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn submission_succeeded(&self, info: &DebugInfo) { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DebugInfo` in this scope [INFO] [stdout] --> src/debug.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 3 | fn submission_succeeded(&self, info: &DebugInfo) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/debug.rs - debug::SubmitMethod (line 8) [INFO] [stdout] src/debug.rs - debug::SubmitMethod::submission_failed (line 40) [INFO] [stdout] src/debug.rs - debug::SubmitMethod::submission_succeeded (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "3392442bc993d8748a838ff39391e6540f915966550af7532163b4b881d965ca"` [INFO] running `"docker" "rm" "-f" "3392442bc993d8748a838ff39391e6540f915966550af7532163b4b881d965ca"` [INFO] [stdout] 3392442bc993d8748a838ff39391e6540f915966550af7532163b4b881d965ca