[INFO] fetching crate as_http_status_code 0.1.0...
[INFO] testing as_http_status_code-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate as_http_status_code 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate as_http_status_code 0.1.0
[INFO] finished tweaking crates.io crate as_http_status_code 0.1.0
[INFO] tweaked toml for crates.io crate as_http_status_code 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate as_http_status_code 0.1.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] crate crates.io crate as_http_status_code 0.1.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 46c60a84606260095b019023367fecb2a9304b61dd693c2db74537e3c8070e51
[INFO] running `Command { std: "docker" "start" "-a" "46c60a84606260095b019023367fecb2a9304b61dd693c2db74537e3c8070e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46c60a84606260095b019023367fecb2a9304b61dd693c2db74537e3c8070e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46c60a84606260095b019023367fecb2a9304b61dd693c2db74537e3c8070e51", kill_on_drop: false }`
[INFO] [stdout] 46c60a84606260095b019023367fecb2a9304b61dd693c2db74537e3c8070e51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 965425b5549ef7d120d66b6cf5ef87c2bb5206f69321cedf4899bb76b2b8be59
[INFO] running `Command { std: "docker" "start" "-a" "965425b5549ef7d120d66b6cf5ef87c2bb5206f69321cedf4899bb76b2b8be59", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling as_http_status_code_derive v0.1.0
[INFO] [stderr]    Compiling as_http_status_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.51s
[INFO] running `Command { std: "docker" "inspect" "965425b5549ef7d120d66b6cf5ef87c2bb5206f69321cedf4899bb76b2b8be59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "965425b5549ef7d120d66b6cf5ef87c2bb5206f69321cedf4899bb76b2b8be59", kill_on_drop: false }`
[INFO] [stdout] 965425b5549ef7d120d66b6cf5ef87c2bb5206f69321cedf4899bb76b2b8be59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6b7977579c613de5b96ac1e0161af5fe28c2217317cf94263feaf3f9d5eec811
[INFO] running `Command { std: "docker" "start" "-a" "6b7977579c613de5b96ac1e0161af5fe28c2217317cf94263feaf3f9d5eec811", kill_on_drop: false }`
[INFO] [stderr]    Compiling as_http_status_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `as_http_status_code`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use as_http_status_code::AsStatusCode;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `as_http_status_code`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `as_http_status_code`, use `cargo add as_http_status_code` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[as_status_code(StatusCode::OK)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 +     #[derive(AsStatusCode)]
[INFO] [stdout] 16 |     enum Foo {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |         #[as_status_code(StatusCode::NOT_FOUND)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 +     #[derive(AsStatusCode)]
[INFO] [stdout] 16 |     enum Foo {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[as_status_code(StatusCode::INTERNAL_SERVER_ERROR)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 +     #[derive(AsStatusCode)]
[INFO] [stdout] 16 |     enum Foo {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[as_status_code(StatusCode::OK)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 26 +     #[derive(AsStatusCode)]
[INFO] [stdout] 27 |     struct Bar {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum Foo {
[INFO] [stdout]    |     -------- method `as_status_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |         assert_eq!(Foo::Ok.as_status_code(), StatusCode::OK);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum Foo {
[INFO] [stdout]    |     -------- method `as_status_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |         assert_eq!(Foo::NotFound(789).as_status_code(), StatusCode::NOT_FOUND);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |       enum Foo {
[INFO] [stdout]    |       -------- method `as_status_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 | /             Foo::InternalServerError {
[INFO] [stdout] 38 | |                 message: "msg".to_owned()
[INFO] [stdout] 39 | |             }
[INFO] [stdout] 40 | |             .as_status_code(),
[INFO] [stdout]    | |             -^^^^^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for struct `Bar` in the current scope
[INFO] [stdout]   --> src/lib.rs:44:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |     struct Bar {
[INFO] [stdout]    |     ---------- method `as_status_code` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |         assert_eq!(Bar { _field: () }.as_status_code(), StatusCode::OK);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ method not found in `Bar`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `as_http_status_code` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "6b7977579c613de5b96ac1e0161af5fe28c2217317cf94263feaf3f9d5eec811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b7977579c613de5b96ac1e0161af5fe28c2217317cf94263feaf3f9d5eec811", kill_on_drop: false }`
[INFO] [stdout] 6b7977579c613de5b96ac1e0161af5fe28c2217317cf94263feaf3f9d5eec811
