[INFO] fetching crate ambassade-debug 0.2.0... [INFO] testing ambassade-debug-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate ambassade-debug 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate ambassade-debug 0.2.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 751aa2baf04f048416a58f1ea860888f44d5735df4bb49c87cd8114492e37848 [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" "751aa2baf04f048416a58f1ea860888f44d5735df4bb49c87cd8114492e37848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "751aa2baf04f048416a58f1ea860888f44d5735df4bb49c87cd8114492e37848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751aa2baf04f048416a58f1ea860888f44d5735df4bb49c87cd8114492e37848", kill_on_drop: false }` [INFO] [stdout] 751aa2baf04f048416a58f1ea860888f44d5735df4bb49c87cd8114492e37848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02f1cedd7c858c588e9d04ab550e1e31d1d96008b1c677249713388e3e525228 [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" "02f1cedd7c858c588e9d04ab550e1e31d1d96008b1c677249713388e3e525228", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling openssl-sys v0.9.63 [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] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(write!(f, "{}", string)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.90s [INFO] running `Command { std: "docker" "inspect" "02f1cedd7c858c588e9d04ab550e1e31d1d96008b1c677249713388e3e525228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f1cedd7c858c588e9d04ab550e1e31d1d96008b1c677249713388e3e525228", kill_on_drop: false }` [INFO] [stdout] 02f1cedd7c858c588e9d04ab550e1e31d1d96008b1c677249713388e3e525228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fdfb82c0dd5d877ead65bf75325ff7bd31141f5ed8d6691327e31e08e45094e [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" "8fdfb82c0dd5d877ead65bf75325ff7bd31141f5ed8d6691327e31e08e45094e", kill_on_drop: false }` [INFO] [stderr] Compiling ambassade-debug v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(write!(f, "{}", string)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(write!(f, "{}", string)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "8fdfb82c0dd5d877ead65bf75325ff7bd31141f5ed8d6691327e31e08e45094e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fdfb82c0dd5d877ead65bf75325ff7bd31141f5ed8d6691327e31e08e45094e", kill_on_drop: false }` [INFO] [stdout] 8fdfb82c0dd5d877ead65bf75325ff7bd31141f5ed8d6691327e31e08e45094e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 335f10237bb67c1b3a34762016538c97f36d4ed1b516a65661fac790dd84e6cc [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" "335f10237bb67c1b3a34762016538c97f36d4ed1b516a65661fac790dd84e6cc", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `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 macro `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.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ambassade_debug-608aa69636034631) [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests ambassade-debug [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; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/debug.rs - debug::SubmitMethod::submission_succeeded (line 27) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "335f10237bb67c1b3a34762016538c97f36d4ed1b516a65661fac790dd84e6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "335f10237bb67c1b3a34762016538c97f36d4ed1b516a65661fac790dd84e6cc", kill_on_drop: false }` [INFO] [stdout] 335f10237bb67c1b3a34762016538c97f36d4ed1b516a65661fac790dd84e6cc