[INFO] fetching crate ambassade-debug 0.2.0... [INFO] testing ambassade-debug-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ambassade-debug 0.2.0 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ambassade-debug 0.2.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding git2 v0.8.0 (available: v0.20.2) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 669e8dbd281594654e90e98cba84e3570ccade5c78862e96087bfe48956eac47 [INFO] running `Command { std: "docker" "start" "-a" "669e8dbd281594654e90e98cba84e3570ccade5c78862e96087bfe48956eac47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669e8dbd281594654e90e98cba84e3570ccade5c78862e96087bfe48956eac47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669e8dbd281594654e90e98cba84e3570ccade5c78862e96087bfe48956eac47", kill_on_drop: false }` [INFO] [stdout] 669e8dbd281594654e90e98cba84e3570ccade5c78862e96087bfe48956eac47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 24c20a4d37ba78fd7c5096d7c380aba996c92b03ca8f588f204508cfda26c4b3 [INFO] running `Command { std: "docker" "start" "-a" "24c20a4d37ba78fd7c5096d7c380aba996c92b03ca8f588f204508cfda26c4b3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.73s [INFO] running `Command { std: "docker" "inspect" "24c20a4d37ba78fd7c5096d7c380aba996c92b03ca8f588f204508cfda26c4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c20a4d37ba78fd7c5096d7c380aba996c92b03ca8f588f204508cfda26c4b3", kill_on_drop: false }` [INFO] [stdout] 24c20a4d37ba78fd7c5096d7c380aba996c92b03ca8f588f204508cfda26c4b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8ce3390ab6a2b13dfd3f24806e48a29e16ce81407d041254d6b70c98901e47b1 [INFO] running `Command { std: "docker" "start" "-a" "8ce3390ab6a2b13dfd3f24806e48a29e16ce81407d041254d6b70c98901e47b1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "8ce3390ab6a2b13dfd3f24806e48a29e16ce81407d041254d6b70c98901e47b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce3390ab6a2b13dfd3f24806e48a29e16ce81407d041254d6b70c98901e47b1", kill_on_drop: false }` [INFO] [stdout] 8ce3390ab6a2b13dfd3f24806e48a29e16ce81407d041254d6b70c98901e47b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] 019230a01d1e8b7b1ccac3a064ef2b465c06e5d4b125be54814abe6a2e456006 [INFO] running `Command { std: "docker" "start" "-a" "019230a01d1e8b7b1ccac3a064ef2b465c06e5d4b125be54814abe6a2e456006", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: `ambassade-debug` (lib) generated 1 warning [INFO] [stderr] warning: `ambassade-debug` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ambassade_debug-ce215d8d62d48072) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ambassade_debug [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/debug.rs - debug::SubmitMethod::submission_succeeded (line 27) ... FAILED [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] 28 | 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] 28 | 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 an operator, found `)` [INFO] [stdout] --> src/debug.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | fn submission_failed(&self, info &DebugInfo) { [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/debug.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 42 | 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: expected a pattern, found an expression [INFO] [stdout] --> src/debug.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn submission_failed(&self, info &DebugInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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] 11 | 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] 12 | 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.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "019230a01d1e8b7b1ccac3a064ef2b465c06e5d4b125be54814abe6a2e456006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019230a01d1e8b7b1ccac3a064ef2b465c06e5d4b125be54814abe6a2e456006", kill_on_drop: false }` [INFO] [stdout] 019230a01d1e8b7b1ccac3a064ef2b465c06e5d4b125be54814abe6a2e456006