[INFO] cloning repository https://github.com/samsieber/rubber-duck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samsieber/rubber-duck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamsieber%2Frubber-duck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamsieber%2Frubber-duck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7286a3f8dbe7783cd77fe53fbc7166fa522c94f8 [INFO] checking samsieber/rubber-duck against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamsieber%2Frubber-duck" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samsieber/rubber-duck on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samsieber/rubber-duck [INFO] finished tweaking git repo https://github.com/samsieber/rubber-duck [INFO] tweaked toml for git repo https://github.com/samsieber/rubber-duck written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/samsieber/rubber-duck 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating rubber_duck v0.2.1 (/workspace/builds/worker-5-tc1/source/rubber_duck) -> v0.2.2 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.23 [INFO] [stderr] Downloaded proc-macro-hack v0.5.3 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35d44799209a907cfaf6800f3d6133df2a7c1a628af7990c7700dc608e5dc057 [INFO] running `Command { std: "docker" "start" "-a" "35d44799209a907cfaf6800f3d6133df2a7c1a628af7990c7700dc608e5dc057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35d44799209a907cfaf6800f3d6133df2a7c1a628af7990c7700dc608e5dc057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d44799209a907cfaf6800f3d6133df2a7c1a628af7990c7700dc608e5dc057", kill_on_drop: false }` [INFO] [stdout] 35d44799209a907cfaf6800f3d6133df2a7c1a628af7990c7700dc608e5dc057 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74e0f41abca16b5b0fc86391b1123d4f6fa42ec29786322e8e58bbb8214fc6d6 [INFO] running `Command { std: "docker" "start" "-a" "74e0f41abca16b5b0fc86391b1123d4f6fa42ec29786322e8e58bbb8214fc6d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking quote v0.6.10 [INFO] [stderr] Checking syn v0.15.23 [INFO] [stderr] Compiling proc-macro-hack v0.5.3 [INFO] [stderr] Compiling rubber_duck_macro v0.2.0 (/opt/rustwide/workdir/rubber_duck_macro) [INFO] [stderr] Checking rubber_duck v0.2.2 (/opt/rustwide/workdir/rubber_duck) [INFO] [stderr] Checking example_api v0.1.0 (/opt/rustwide/workdir/example_api) [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "two_pos", span: #0 bytes(2875..2882) }, arguments: None }] } } [INFO] [stderr] Done parsing [INFO] [stderr] Done parsing stream [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "two_pos", span: #0 bytes(3043..3050) }, arguments: None }] } } [INFO] [stderr] Ident:true [INFO] [stderr] Colon:true [INFO] [stderr] Comma:false [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Done parsing [INFO] [stderr] Done parsing stream [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "two_pos", span: #0 bytes(3276..3283) }, arguments: None }] } } [INFO] [stderr] Ident:true [INFO] [stderr] Colon:false [INFO] [stderr] Comma:true [INFO] [stderr] Parsing named field [INFO] [stderr] No colon found [INFO] [stderr] Done parsing [INFO] [stderr] Done parsing stream [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "crate", span: #0 bytes(3955..3960) }, arguments: None }, Colon2, PathSegment { ident: Ident { ident: "module", span: #0 bytes(3962..3968) }, arguments: None }, Colon2, PathSegment { ident: Ident { ident: "open_file", span: #0 bytes(3970..3979) }, arguments: None }] } } [INFO] [stderr] Ident:true [INFO] [stderr] Colon:true [INFO] [stderr] Comma:false [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Done parsing [INFO] [stderr] Done parsing stream [INFO] [stdout] error[E0433]: failed to resolve: could not find `open_file` in `module` [INFO] [stdout] --> example_api/src/lib.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | let mut handle = crate::module::open_file!(PathBuf::from("test.txt"), read => true)?; [INFO] [stdout] | ^^^^^^^^^ could not find `open_file` in `module` [INFO] [stdout] | [INFO] [stdout] help: crate::module::open_file is not a macro, but a function, try to remove `!` [INFO] [stdout] | [INFO] [stdout] 102 - let mut handle = crate::module::open_file!(PathBuf::from("test.txt"), read => true)?; [INFO] [stdout] 102 + let mut handle = crate::module::open_file(PathBuf::from("test.txt"), read => true)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `is_a_test` in `module` [INFO] [stdout] --> example_api/src/lib.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | crate::module::is_a_test!(name => "Bill".to_owned(), message => "It's working!".to_owned()) [INFO] [stdout] | ^^^^^^^^^ could not find `is_a_test` in `module` [INFO] [stdout] | [INFO] [stdout] help: crate::module::is_a_test is not a macro, but a function, try to remove `!` [INFO] [stdout] | [INFO] [stdout] 161 - crate::module::is_a_test!(name => "Bill".to_owned(), message => "It's working!".to_owned()) [INFO] [stdout] 161 + crate::module::is_a_test(name => "Bill".to_owned(), message => "It's working!".to_owned()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `is_a_test` in `module` [INFO] [stdout] --> example_api/src/lib.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | crate::module::is_a_test!(message => "It's working!".to_owned()) [INFO] [stdout] | ^^^^^^^^^ could not find `is_a_test` in `module` [INFO] [stdout] | [INFO] [stdout] help: crate::module::is_a_test is not a macro, but a function, try to remove `!` [INFO] [stdout] | [INFO] [stdout] 165 - crate::module::is_a_test!(message => "It's working!".to_owned()) [INFO] [stdout] 165 + crate::module::is_a_test(message => "It's working!".to_owned()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `is_a_test` in this scope [INFO] [stdout] --> example_api/src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | is_a_test!(name => Some("Bill".to_owned()), message => "It's working!".to_owned()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `is_a_test` is imported here, but it is a struct, not a macro [INFO] [stdout] --> example_api/src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use crate::module::is_a_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking example_consumer v0.1.0 (/opt/rustwide/workdir/example_consumer) [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "is_a_test", span: #0 bytes(982..991) }, arguments: None }] } } [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "is_a_test", span: #0 bytes(982..991) }, arguments: None }] } } [INFO] [stderr] Ident:true [INFO] [stderr] Ident:true [INFO] [stderr] Colon:true [INFO] [stderr] Colon:true [INFO] [stderr] Comma:false [INFO] [stderr] Comma:false [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Parsing named field [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Found a colon [INFO] [stderr] Done parsing [INFO] [stderr] Parsing named field [INFO] [stderr] Done parsing stream [INFO] [stderr] Found a colon [INFO] [stderr] Done parsing [INFO] [stderr] Done parsing stream [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "module", span: #0 bytes(1158..1164) }, arguments: None }, Colon2, PathSegment { ident: Ident { ident: "is_a_test", span: #0 bytes(1166..1175) }, arguments: None }] } } [INFO] [stderr] Ident:true [INFO] [stderr] Colon:true [INFO] [stderr] Comma:false [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Parsed type: TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "module", span: #0 bytes(1158..1164) }, arguments: None }, Colon2, PathSegment { ident: Ident { ident: "is_a_test", span: #0 bytes(1166..1175) }, arguments: None }] } } [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Ident:true [INFO] [stderr] Done parsing [INFO] [stderr] Colon:true [INFO] [stderr] Done parsing stream [INFO] [stderr] Comma:false [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Parsing named field [INFO] [stderr] Found a colon [INFO] [stderr] Done parsing [INFO] [stderr] Done parsing stream [INFO] [stderr] error: could not compile `example_api` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "74e0f41abca16b5b0fc86391b1123d4f6fa42ec29786322e8e58bbb8214fc6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e0f41abca16b5b0fc86391b1123d4f6fa42ec29786322e8e58bbb8214fc6d6", kill_on_drop: false }` [INFO] [stdout] 74e0f41abca16b5b0fc86391b1123d4f6fa42ec29786322e8e58bbb8214fc6d6