[INFO] cloning repository https://github.com/kenkoooo/cargo-concat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenkoooo/cargo-concat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenkoooo%2Fcargo-concat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenkoooo%2Fcargo-concat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff93e08915258a10d9c6df550a94d5b27613a923 [INFO] testing kenkoooo/cargo-concat against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenkoooo%2Fcargo-concat" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kenkoooo/cargo-concat on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kenkoooo/cargo-concat [INFO] finished tweaking git repo https://github.com/kenkoooo/cargo-concat [INFO] tweaked toml for git repo https://github.com/kenkoooo/cargo-concat written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kenkoooo/cargo-concat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b407292de43166846564fcfdc102171d21ec08826633a9cb406bac365ca216f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b407292de43166846564fcfdc102171d21ec08826633a9cb406bac365ca216f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b407292de43166846564fcfdc102171d21ec08826633a9cb406bac365ca216f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b407292de43166846564fcfdc102171d21ec08826633a9cb406bac365ca216f7", kill_on_drop: false }` [INFO] [stdout] b407292de43166846564fcfdc102171d21ec08826633a9cb406bac365ca216f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ddddec61f05ca99253861726d83268d12950bd3d2c12417b475409b5b79965 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "12ddddec61f05ca99253861726d83268d12950bd3d2c12417b475409b5b79965", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling os_str_bytes v2.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling cargo_metadata v0.11.2 [INFO] [stderr] Compiling cargo-concat v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.40s [INFO] running `Command { std: "docker" "inspect" "12ddddec61f05ca99253861726d83268d12950bd3d2c12417b475409b5b79965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ddddec61f05ca99253861726d83268d12950bd3d2c12417b475409b5b79965", kill_on_drop: false }` [INFO] [stdout] 12ddddec61f05ca99253861726d83268d12950bd3d2c12417b475409b5b79965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e78df537b84b5115648d49f258bcf97a76e33ee75b53466d224eeac913cdc363 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e78df537b84b5115648d49f258bcf97a76e33ee75b53466d224eeac913cdc363", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-concat v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "e78df537b84b5115648d49f258bcf97a76e33ee75b53466d224eeac913cdc363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e78df537b84b5115648d49f258bcf97a76e33ee75b53466d224eeac913cdc363", kill_on_drop: false }` [INFO] [stdout] e78df537b84b5115648d49f258bcf97a76e33ee75b53466d224eeac913cdc363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63d41a4ceaed5016236476f913e74043b0b2659e6d5c9a9503d542b6ba2f894d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "63d41a4ceaed5016236476f913e74043b0b2659e6d5c9a9503d542b6ba2f894d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_concat-6f54664e93c63bbf) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test extract::tests::test_extract_modules ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_concat-3c9f4a2b8f0aabb4) [INFO] [stdout] [INFO] [stderr] Running tests/test_concat_module.rs (/opt/rustwide/target/debug/deps/test_concat_module-605c8f7bfa6148fd) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/test_concat_source.rs (/opt/rustwide/target/debug/deps/test_concat_source-c7dd6b96ea6e6dd1) [INFO] [stdout] test test_concat_module ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_concat_source ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_concat_source stdout ---- [INFO] [stdout] thread 'test_concat_source' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `File { shebang: None, attrs: [], items: [Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Path(UsePath { ident: Ident(a), colon2_token: Colon2, tree: Name(UseName { ident: Ident(b) }) }), semi_token: Semi }), Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Name(UseName { ident: Ident(std) }), semi_token: Semi }), Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Path(UsePath { ident: Ident(std), colon2_token: Colon2, tree: Name(UseName { ident: Ident(env) }) }), semi_token: Semi }), Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Path(UsePath { ident: Ident(test_project), colon2_token: Colon2, tree: Name(UseName { ident: Ident(mod1) }) }), semi_token: Semi }), Mod(ItemMod { attrs: [], vis: Inherited, mod_token: Mod, ident: Ident(a), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(b), content: Some((Brace, [])), semi: None })])), semi: None }), Fn(ItemFn { attrs: [], vis: Inherited, sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(main), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [Semi(Macro(ExprMacro { attrs: [], mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(println), arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [Literal { lit: "Hello, world!" }] } }), Semi)] } }), Mod(ItemMod { attrs: [], vis: Inherited, mod_token: Mod, ident: Ident(test_project), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod1), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod2), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod3), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod4), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(inner), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(a), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } }), Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(b), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None })] }`, [INFO] [stdout] right: `File { shebang: None, attrs: [], items: [Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: Some(Colon2), tree: Path(UsePath { ident: Ident(std), colon2_token: Colon2, tree: Name(UseName { ident: Ident(env) }) }), semi_token: Semi }), Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Path(UsePath { ident: Ident(a), colon2_token: Colon2, tree: Name(UseName { ident: Ident(b) }) }), semi_token: Semi }), Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Name(UseName { ident: Ident(std) }), semi_token: Semi }), Use(ItemUse { attrs: [], vis: Inherited, use_token: Use, leading_colon: None, tree: Path(UsePath { ident: Ident(test_project), colon2_token: Colon2, tree: Name(UseName { ident: Ident(mod1) }) }), semi_token: Semi }), Mod(ItemMod { attrs: [], vis: Inherited, mod_token: Mod, ident: Ident(a), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(b), content: Some((Brace, [])), semi: None })])), semi: None }), Fn(ItemFn { attrs: [], vis: Inherited, sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(main), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [Semi(Macro(ExprMacro { attrs: [], mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident(println), arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [Literal { lit: "Hello, world!" }] } }), Semi)] } }), Mod(ItemMod { attrs: [], vis: Inherited, mod_token: Mod, ident: Ident(test_project), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod1), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod2), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod3), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(mod4), content: Some((Brace, [Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(func1), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(func1), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None })])), semi: None }), Mod(ItemMod { attrs: [], vis: Public(VisPublic { pub_token: Pub }), mod_token: Mod, ident: Ident(inner), content: Some((Brace, [Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(a), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } }), Fn(ItemFn { attrs: [], vis: Public(VisPublic { pub_token: Pub }), sig: Signature { constness: None, asyncness: None, unsafety: None, abi: None, fn_token: Fn, ident: Ident(b), generics: Generics { lt_token: None, params: [], gt_token: None, where_clause: None }, paren_token: Paren, inputs: [], variadic: None, output: Default }, block: Block { brace_token: Brace, stmts: [] } })])), semi: None })])), semi: None })] }`: use :: std :: env ; use a :: b ; use std ; use test_project :: mod1 ; mod a { pub mod b { } } fn main () { println ! ("Hello, world!") ; } mod test_project { pub mod mod1 { pub mod func1 { pub fn func1 () { } } } pub mod mod2 { pub mod func1 { pub fn func1 () { } } } pub mod mod3 { pub mod func1 { pub fn func1 () { } } pub mod mod4 { pub mod func1 { pub fn func1 () { } } } } pub mod inner { pub fn a () { } pub fn b () { } } }', tests/test_concat_source.rs:11:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e69ef971a0 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55e69ef971a0 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e69ef971a0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e69ef971a0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e69efbbe5c - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55e69ef93d25 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55e69ef9957b - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e69ef9957b - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e69ef9957b - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55e69ef9908c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55e69ef99c46 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:626:17 [INFO] [stdout] 11: 0x55e69ef99727 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55e69ef9767c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55e69ef99689 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55e69ecba681 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55e69efb9cfe - core::panicking::assert_failed_inner::h4fdb1013d187f202 [INFO] [stdout] 16: 0x55e69ecbbada - core::panicking::assert_failed::hedfd68289992db7e [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x55e69ecbb5a0 - test_concat_source::test_concat_source::h0851ad12c994bc0f [INFO] [stdout] at /opt/rustwide/workdir/tests/test_concat_source.rs:11:5 [INFO] [stdout] 18: 0x55e69ecbb15a - test_concat_source::test_concat_source::{{closure}}::h59d585c17ca06e1b [INFO] [stdout] at /opt/rustwide/workdir/tests/test_concat_source.rs:5:1 [INFO] [stdout] 19: 0x55e69ecbbb6e - core::ops::function::FnOnce::call_once::h538fd8a8311a5478 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e69ece2683 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e69ece2683 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x55e69ece1130 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 23: 0x55e69ece1130 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 24: 0x55e69ece1130 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55e69ece1130 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55e69ece1130 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x55e69ece1130 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x55e69ece1130 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e69ecbc402 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e69ecbc402 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55e69ecc0178 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x55e69ecc0178 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 33: 0x55e69ecc0178 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55e69ecc0178 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55e69ecc0178 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x55e69ecc0178 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x55e69ecc0178 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e69ef9e927 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 39: 0x55e69ef9e927 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55e69ef9e927 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7fb3265b7609 - start_thread [INFO] [stdout] 42: 0x7fb326389293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_concat_source [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test test_concat_source' [INFO] running `Command { std: "docker" "inspect" "63d41a4ceaed5016236476f913e74043b0b2659e6d5c9a9503d542b6ba2f894d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d41a4ceaed5016236476f913e74043b0b2659e6d5c9a9503d542b6ba2f894d", kill_on_drop: false }` [INFO] [stdout] 63d41a4ceaed5016236476f913e74043b0b2659e6d5c9a9503d542b6ba2f894d