[INFO] fetching crate imply-hack 0.1.0... [INFO] testing imply-hack-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate imply-hack 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate imply-hack 0.1.0 [INFO] finished tweaking crates.io crate imply-hack 0.1.0 [INFO] tweaked toml for crates.io crate imply-hack 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate imply-hack 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8bab146b1afe2aa7b7cc1cfb681bd946744beaaad2ce4cce68c78c4ca6256c8 [INFO] running `Command { std: "docker" "start" "-a" "b8bab146b1afe2aa7b7cc1cfb681bd946744beaaad2ce4cce68c78c4ca6256c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8bab146b1afe2aa7b7cc1cfb681bd946744beaaad2ce4cce68c78c4ca6256c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bab146b1afe2aa7b7cc1cfb681bd946744beaaad2ce4cce68c78c4ca6256c8", kill_on_drop: false }` [INFO] [stdout] b8bab146b1afe2aa7b7cc1cfb681bd946744beaaad2ce4cce68c78c4ca6256c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a716828bdb7aa149e16933e839b1b23e1d93b1aee4d26776b00626e03bb1113 [INFO] running `Command { std: "docker" "start" "-a" "7a716828bdb7aa149e16933e839b1b23e1d93b1aee4d26776b00626e03bb1113", kill_on_drop: false }` [INFO] [stderr] Compiling imply-hack v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "7a716828bdb7aa149e16933e839b1b23e1d93b1aee4d26776b00626e03bb1113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a716828bdb7aa149e16933e839b1b23e1d93b1aee4d26776b00626e03bb1113", kill_on_drop: false }` [INFO] [stdout] 7a716828bdb7aa149e16933e839b1b23e1d93b1aee4d26776b00626e03bb1113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f4077cebe09534b40ee9b82a956f6ae7581d64382ae16c3fc45d056c76a919 [INFO] running `Command { std: "docker" "start" "-a" "17f4077cebe09534b40ee9b82a956f6ae7581d64382ae16c3fc45d056c76a919", kill_on_drop: false }` [INFO] [stderr] Compiling imply-hack v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "17f4077cebe09534b40ee9b82a956f6ae7581d64382ae16c3fc45d056c76a919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f4077cebe09534b40ee9b82a956f6ae7581d64382ae16c3fc45d056c76a919", kill_on_drop: false }` [INFO] [stdout] 17f4077cebe09534b40ee9b82a956f6ae7581d64382ae16c3fc45d056c76a919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f3349169d5db1a704da7c51c7af7ba607caf69e4c8329fee1e232783eed7f9c [INFO] running `Command { std: "docker" "start" "-a" "1f3349169d5db1a704da7c51c7af7ba607caf69e4c8329fee1e232783eed7f9c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/imply_hack-f46fa3ca01e332f2) [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 imply_hack [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - Imply (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] test src/lib.rs - (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Imply (line 168) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Imply` in this scope [INFO] [stdout] --> src/lib.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 3 | trait MyTrait: Imply {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use imply_hack::Imply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Bound` in this scope [INFO] [stdout] --> src/lib.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 3 | trait MyTrait: Imply {} [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 E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 154) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Bound` in this scope [INFO] [stdout] --> src/lib.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 9 | trait MyTrait: Imply {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 48) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyFooUser` in this scope [INFO] [stdout] --> src/lib.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 3 | trait FooUser [INFO] [stdout] | ---------------- similarly named trait `FooUser` defined here [INFO] [stdout] ... [INFO] [stdout] 8 | impl FooUser for MyFooUser [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FooUser` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 10 | Foo: MyTrait [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MyTrait` in this scope [INFO] [stdout] --> src/lib.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 10 | Foo: MyTrait [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/lib.rs - (line 71) stdout ---- [INFO] [stdout] error: expected `;`, found `Foo` [INFO] [stdout] --> src/lib.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 8 | user.use_value(&value) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | Foo.do_the_thing(&value); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooUser` in this scope [INFO] [stdout] --> src/lib.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 5 | U: FooUser, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 6 | Foo: MyTrait, // We really want to get rid of this. [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MyTrait` in this scope [INFO] [stdout] --> src/lib.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 6 | Foo: MyTrait, // We really want to get rid of this. [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Foo` in this scope [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 9 | Foo.do_the_thing(&value); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Imply` in this scope [INFO] [stdout] --> src/lib.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 5 | trait MyTrait: Imply {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use imply_hack::Imply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 140) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Bound` in this scope [INFO] [stdout] --> src/lib.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 9 | Self: Imply, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 84) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 5 | Foo: MyTrait [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MyTrait` in this scope [INFO] [stdout] --> src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 5 | Foo: MyTrait [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/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0599]: no method named `do_the_thing` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo; [INFO] [stdout] | ---------- method `do_the_thing` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | Foo.do_the_thing(value) [INFO] [stdout] | ----^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Foo::do_the_thing(value)` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `MyTrait` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn do_the_thing(value: &T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_the_thing` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo; [INFO] [stdout] | ---------- method `do_the_thing` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | Foo.do_the_thing(&value); // Do it again! [INFO] [stdout] | ----^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Foo::do_the_thing(&value)` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `MyTrait` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn do_the_thing(value: &T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 140) [INFO] [stdout] src/lib.rs - (line 154) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/lib.rs - (line 48) [INFO] [stdout] src/lib.rs - (line 71) [INFO] [stdout] src/lib.rs - (line 84) [INFO] [stdout] src/lib.rs - Imply (line 168) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1f3349169d5db1a704da7c51c7af7ba607caf69e4c8329fee1e232783eed7f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3349169d5db1a704da7c51c7af7ba607caf69e4c8329fee1e232783eed7f9c", kill_on_drop: false }` [INFO] [stdout] 1f3349169d5db1a704da7c51c7af7ba607caf69e4c8329fee1e232783eed7f9c