[INFO] cloning repository https://github.com/tguichaoua/patched
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tguichaoua/patched" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftguichaoua%2Fpatched", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftguichaoua%2Fpatched'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc76630a1a4fd9f9eee25911b1b29fc6f8d98003
[INFO] testing tguichaoua/patched against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftguichaoua%2Fpatched" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tguichaoua/patched
[INFO] finished tweaking git repo https://github.com/tguichaoua/patched
[INFO] tweaked toml for git repo https://github.com/tguichaoua/patched written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tguichaoua/patched on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tguichaoua/patched already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bff65774070e234797c772d040375ef8e622d5f3bccede6f1d25fc9ffd608fe
[INFO] running `Command { std: "docker" "start" "-a" "9bff65774070e234797c772d040375ef8e622d5f3bccede6f1d25fc9ffd608fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bff65774070e234797c772d040375ef8e622d5f3bccede6f1d25fc9ffd608fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bff65774070e234797c772d040375ef8e622d5f3bccede6f1d25fc9ffd608fe", kill_on_drop: false }`
[INFO] [stdout] 9bff65774070e234797c772d040375ef8e622d5f3bccede6f1d25fc9ffd608fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b0fbebd3421cd9877df08475a0a95dfc3fe11ddba44dd49bd28d8d80e800761e
[INFO] running `Command { std: "docker" "start" "-a" "b0fbebd3421cd9877df08475a0a95dfc3fe11ddba44dd49bd28d8d80e800761e", kill_on_drop: false }`
[INFO] [stderr]    Compiling patched v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "b0fbebd3421cd9877df08475a0a95dfc3fe11ddba44dd49bd28d8d80e800761e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0fbebd3421cd9877df08475a0a95dfc3fe11ddba44dd49bd28d8d80e800761e", kill_on_drop: false }`
[INFO] [stdout] b0fbebd3421cd9877df08475a0a95dfc3fe11ddba44dd49bd28d8d80e800761e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e74c5c66bee13beca7831e923a26d782cb0d3a7c552250ac508e1da3c8a68e4b
[INFO] running `Command { std: "docker" "start" "-a" "e74c5c66bee13beca7831e923a26d782cb0d3a7c552250ac508e1da3c8a68e4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling target-triple v0.1.3
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling winnow v0.7.2
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling toml v0.8.20
[INFO] [stderr]    Compiling trybuild v1.0.103
[INFO] [stderr]    Compiling patched v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Patch` in this scope
[INFO] [stdout]  --> tests/test.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[derive(Patch, PartialEq, Eq, Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Patch` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use patched::Patch;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Patch` in this scope
[INFO] [stdout]   --> tests/test.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[derive(Patch, PartialEq, Eq, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Patch` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> tests/test.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use patched::Patch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch` in this scope
[INFO] [stdout]   --> tests/test.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 |         #[patch(with = GooPatch)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `patch` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 -         #[patch(with = GooPatch)]
[INFO] [stdout] 40 +         #[path(with = GooPatch)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch` in this scope
[INFO] [stdout]   --> tests/test.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 |         #[patch(with = HooPatch)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `patch` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 -         #[patch(with = HooPatch)]
[INFO] [stdout] 42 +         #[path(with = HooPatch)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Patch` in this scope
[INFO] [stdout]   --> tests/test.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     #[derive(Patch, PartialEq, Eq, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Patch` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> tests/test.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use patched::Patch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Patch` in this scope
[INFO] [stdout]   --> tests/test.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |     #[derive(Patch, PartialEq, Eq, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Patch` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> tests/test.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use patched::Patch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Patch` in this scope
[INFO] [stdout]   --> tests/test.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     #[derive(Patch, Debug, PartialEq, Eq)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Patch` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> tests/test.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use patched::Patch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch_attr` in this scope
[INFO] [stdout]   --> tests/test.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |     #[patch_attr(derive(Debug, PartialEq, Eq))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch` in this scope
[INFO] [stdout]   --> tests/test.rs:92:7
[INFO] [stdout]    |
[INFO] [stdout] 92 |     #[patch(from)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `patch` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 92 -     #[patch(from)]
[INFO] [stdout] 92 +     #[path(from)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Patch` in this scope
[INFO] [stdout]    --> tests/test.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |     #[derive(Patch)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Patch` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> tests/test.rs:2:5
[INFO] [stdout]     |
[INFO] [stdout]   2 | use patched::Patch;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch_attr` in this scope
[INFO] [stdout]    --> tests/test.rs:117:7
[INFO] [stdout]     |
[INFO] [stdout] 117 |     #[patch_attr(derive(Clone, Debug, PartialEq, Eq))]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch` in this scope
[INFO] [stdout]    --> tests/test.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[patch(name = FooPatch)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `patch` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 118 -     #[patch(name = FooPatch)]
[INFO] [stdout] 118 +     #[path(name = FooPatch)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]   --> tests/test.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     value.patch(FooPatch {
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]   --> tests/test.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     value.patch(FooPatch {
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GooPatch` in this scope
[INFO] [stdout]   --> tests/test.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         b: GooPatch {
[INFO] [stdout]    |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HooPatch` in this scope
[INFO] [stdout]   --> tests/test.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |         c: HooPatch {
[INFO] [stdout]    |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let a = FooPatch {
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let b = FooPatch {
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |     let c = FooPatch {
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |         FooPatch {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FooPatch` in this scope
[INFO] [stdout]    --> tests/test.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let patch = FooPatch::from(value);
[INFO] [stdout]     |                 ^^^^^^^^ use of undeclared type `FooPatch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `patched` (test "test") due to 27 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "e74c5c66bee13beca7831e923a26d782cb0d3a7c552250ac508e1da3c8a68e4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e74c5c66bee13beca7831e923a26d782cb0d3a7c552250ac508e1da3c8a68e4b", kill_on_drop: false }`
[INFO] [stdout] e74c5c66bee13beca7831e923a26d782cb0d3a7c552250ac508e1da3c8a68e4b
