[INFO] fetching crate imply-hack 0.1.0... [INFO] testing imply-hack-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate imply-hack 0.1.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate imply-hack 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e57ecbafd81e295ec0482798d87d941f21187a27e5da2f052ee6786afeaf2d0 [INFO] running `Command { std: "docker" "start" "-a" "9e57ecbafd81e295ec0482798d87d941f21187a27e5da2f052ee6786afeaf2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e57ecbafd81e295ec0482798d87d941f21187a27e5da2f052ee6786afeaf2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e57ecbafd81e295ec0482798d87d941f21187a27e5da2f052ee6786afeaf2d0", kill_on_drop: false }` [INFO] [stdout] 9e57ecbafd81e295ec0482798d87d941f21187a27e5da2f052ee6786afeaf2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b6b55c127bee1b786be691c87df8dad0076f0b401de41ae335ee4a560c4ace9 [INFO] running `Command { std: "docker" "start" "-a" "3b6b55c127bee1b786be691c87df8dad0076f0b401de41ae335ee4a560c4ace9", 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.08s [INFO] running `Command { std: "docker" "inspect" "3b6b55c127bee1b786be691c87df8dad0076f0b401de41ae335ee4a560c4ace9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6b55c127bee1b786be691c87df8dad0076f0b401de41ae335ee4a560c4ace9", kill_on_drop: false }` [INFO] [stdout] 3b6b55c127bee1b786be691c87df8dad0076f0b401de41ae335ee4a560c4ace9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf1320be78bdfd56350a4adf73492d3dfd5ed4a398ea54b6703fc56b39dc71f [INFO] running `Command { std: "docker" "start" "-a" "cdf1320be78bdfd56350a4adf73492d3dfd5ed4a398ea54b6703fc56b39dc71f", 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.30s [INFO] running `Command { std: "docker" "inspect" "cdf1320be78bdfd56350a4adf73492d3dfd5ed4a398ea54b6703fc56b39dc71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf1320be78bdfd56350a4adf73492d3dfd5ed4a398ea54b6703fc56b39dc71f", kill_on_drop: false }` [INFO] [stdout] cdf1320be78bdfd56350a4adf73492d3dfd5ed4a398ea54b6703fc56b39dc71f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 894d0e6513af340f785cae1c2ea0ddcf3806913488d3de8d32c85bbb5ba3718d [INFO] running `Command { std: "docker" "start" "-a" "894d0e6513af340f785cae1c2ea0ddcf3806913488d3de8d32c85bbb5ba3718d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [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 84) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... 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] 169 | trait MyTrait: Imply {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 168 + 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] 169 | 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 84) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | 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] 87 | 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, 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 48) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MyFooUser` in this scope [INFO] [stdout] --> src/lib.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 49 | trait FooUser [INFO] [stdout] | ---------------- similarly named trait `FooUser` defined here [INFO] [stdout] ... [INFO] [stdout] 54 | impl FooUser for MyFooUser [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - impl FooUser for MyFooUser [INFO] [stdout] 54 + impl FooUser for FooUser [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 56 | 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, 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 154) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Bound` in this scope [INFO] [stdout] --> src/lib.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | 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 140) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Bound` in this scope [INFO] [stdout] --> src/lib.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | 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 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] 23 | struct Foo; [INFO] [stdout] | ---------- method `do_the_thing` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | Foo.do_the_thing(value) [INFO] [stdout] | ^^^^^^^^^^^^ this is an associated function, not a method [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] 20 | fn do_the_thing(value: &T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 32 - Foo.do_the_thing(value) [INFO] [stdout] 32 + Foo::do_the_thing(value) [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] 23 | struct Foo; [INFO] [stdout] | ---------- method `do_the_thing` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | Foo.do_the_thing(&value); // Do it again! [INFO] [stdout] | ^^^^^^^^^^^^ this is an associated function, not a method [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] 20 | fn do_the_thing(value: &T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 42 - Foo.do_the_thing(&value); // Do it again! [INFO] [stdout] 42 + Foo::do_the_thing(&value); // Do it again! [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] ---- src/lib.rs - (line 71) stdout ---- [INFO] [stdout] error: expected `;`, found `Foo` [INFO] [stdout] --> src/lib.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | user.use_value(&value) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 78 | 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] 74 | U: FooUser, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 75 | 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] 78 | 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, 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] 6 | trait MyTrait: Imply {} [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 + 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] [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.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "894d0e6513af340f785cae1c2ea0ddcf3806913488d3de8d32c85bbb5ba3718d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894d0e6513af340f785cae1c2ea0ddcf3806913488d3de8d32c85bbb5ba3718d", kill_on_drop: false }` [INFO] [stdout] 894d0e6513af340f785cae1c2ea0ddcf3806913488d3de8d32c85bbb5ba3718d