[INFO] cloning repository https://github.com/ChainThemAll/err_code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChainThemAll/err_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44f2efb1b62710f145462181ba8d8c8fbee35e75
[INFO] testing ChainThemAll/err_code against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ChainThemAll/err_code
[INFO] finished tweaking git repo https://github.com/ChainThemAll/err_code
[INFO] tweaked toml for git repo https://github.com/ChainThemAll/err_code written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ChainThemAll/err_code on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ChainThemAll/err_code 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70c0849dd5b0b7d90539c9b7bf53a0251014ada04834933fb1dc3ff5f73f14b0
[INFO] running `Command { std: "docker" "start" "-a" "70c0849dd5b0b7d90539c9b7bf53a0251014ada04834933fb1dc3ff5f73f14b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70c0849dd5b0b7d90539c9b7bf53a0251014ada04834933fb1dc3ff5f73f14b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70c0849dd5b0b7d90539c9b7bf53a0251014ada04834933fb1dc3ff5f73f14b0", kill_on_drop: false }`
[INFO] [stdout] 70c0849dd5b0b7d90539c9b7bf53a0251014ada04834933fb1dc3ff5f73f14b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 833aae3476c5d7cc4ce6446fffcb42a8152818967660b968b09395e66068b3ad
[INFO] running `Command { std: "docker" "start" "-a" "833aae3476c5d7cc4ce6446fffcb42a8152818967660b968b09395e66068b3ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling err_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "833aae3476c5d7cc4ce6446fffcb42a8152818967660b968b09395e66068b3ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "833aae3476c5d7cc4ce6446fffcb42a8152818967660b968b09395e66068b3ad", kill_on_drop: false }`
[INFO] [stdout] 833aae3476c5d7cc4ce6446fffcb42a8152818967660b968b09395e66068b3ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9798e041eb41f268385c90e39237e0a7a61eaf6f97c47d6956ca9dc0f246d87f
[INFO] running `Command { std: "docker" "start" "-a" "9798e041eb41f268385c90e39237e0a7a61eaf6f97c47d6956ca9dc0f246d87f", kill_on_drop: false }`
[INFO] [stderr]    Compiling err_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "9798e041eb41f268385c90e39237e0a7a61eaf6f97c47d6956ca9dc0f246d87f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9798e041eb41f268385c90e39237e0a7a61eaf6f97c47d6956ca9dc0f246d87f", kill_on_drop: false }`
[INFO] [stdout] 9798e041eb41f268385c90e39237e0a7a61eaf6f97c47d6956ca9dc0f246d87f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c59e2a47782e747b1d88df5cb4576920d98953efa488486a0eb0419661059004
[INFO] running `Command { std: "docker" "start" "-a" "c59e2a47782e747b1d88df5cb4576920d98953efa488486a0eb0419661059004", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/err_code-f42285cfd460764c)
[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 err_code
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... ok
[INFO] [stdout] test src/lib.rs - (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... ok
[INFO] [stdout] test src/lib.rs - (line 109) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_error_code (line 210) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 90) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:91:14
[INFO] [stdout]    |
[INFO] [stdout] 91 | let error1 = MyError::InvalidInput;
[INFO] [stdout]    |              ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | let error2 = MyError::NotFound;
[INFO] [stdout]    |              ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 45) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | let error = MyError::InvalidInput;
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 137) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]    --> src/lib.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 | let error = MyError::InvalidInput("test".to_string());
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IoError` in this scope
[INFO] [stdout]    --> src/lib.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 | let io_error = IoError::new(std::io::ErrorKind::Other, "io failure");
[INFO] [stdout]     |                ^^^^^^^ use of undeclared type `IoError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]    --> src/lib.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 | let error = MyError::IoError(io_error);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 109) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]    --> src/lib.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | use thiserror::Error;
[INFO] [stdout]     |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[error("Invalid input: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:122:7
[INFO] [stdout]     |
[INFO] [stdout] 122 |     #[error("Resource not found: {name}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |     #[error(transparent)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]    --> src/lib.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |     IoError(#[from] IoError), // Uses default error code
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_error_code (line 210) stdout ----
[INFO] [stdout] error: cannot find derive macro `ErrorCode` in this scope
[INFO] [stdout]    --> src/lib.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 | #[derive(ErrorCode)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 210 + use err_code::ErrorCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:212:3
[INFO] [stdout]     |
[INFO] [stdout] 212 | #[error_code(type = "u16", default = 300)]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:214:7
[INFO] [stdout]     |
[INFO] [stdout] 214 |     #[error_code(100)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:216:7
[INFO] [stdout]     |
[INFO] [stdout] 216 |     #[error_code(200)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 109)
[INFO] [stdout]     src/lib.rs - (line 137)
[INFO] [stdout]     src/lib.rs - (line 45)
[INFO] [stdout]     src/lib.rs - (line 90)
[INFO] [stdout]     src/lib.rs - derive_error_code (line 210)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c59e2a47782e747b1d88df5cb4576920d98953efa488486a0eb0419661059004", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c59e2a47782e747b1d88df5cb4576920d98953efa488486a0eb0419661059004", kill_on_drop: false }`
[INFO] [stdout] c59e2a47782e747b1d88df5cb4576920d98953efa488486a0eb0419661059004
